diff options
| author | Shulhan <ms@kilabit.info> | 2026-02-18 11:12:44 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-02-18 11:12:44 +0700 |
| commit | 974b8b5068b688258dbe1ffcc37d0ce0f3f4b4c7 (patch) | |
| tree | 1973262929e18e8cd0bb1d6e7ee5bae4356ae8d6 /testdata/inline_parser | |
| parent | 4956de038af8b52db6d03f0b6f5b77e6b7cfa721 (diff) | |
| download | asciidoctor-go-974b8b5068b688258dbe1ffcc37d0ce0f3f4b4c7.tar.xz | |
all: fix parsing inline format with escaped character
If the text inside the inline format contains escaped character, the
parsing failed to find the closed character which cause the format is
not rendered as expected.
Diffstat (limited to 'testdata/inline_parser')
| -rw-r--r-- | testdata/inline_parser/inline_parser_test.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testdata/inline_parser/inline_parser_test.txt b/testdata/inline_parser/inline_parser_test.txt index b40465d..8057970 100644 --- a/testdata/inline_parser/inline_parser_test.txt +++ b/testdata/inline_parser/inline_parser_test.txt @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-FileCopyrightText: 2022 M. Shulhan <ms@kilabit.info> + Various tests for inlineParser. >>> @@ -45,6 +48,7 @@ _A _B `A` B `A `B A `/**/` *B* +`/\*` comment `\*/` <<< parseFormat _A_B @@ -57,6 +61,7 @@ _A _B <code>A</code> B `A `B A <code>/<strong></strong>/</code> <strong>B</strong> +<code>/*</code> comment <code>*/</code> >>> parseFormatUnconstrained __A__B |
