diff options
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/Markdown_1.0.3/backslash-escapes.test')
-rw-r--r-- | macros/generic/markdown/tests/testfiles/Markdown_1.0.3/backslash-escapes.test | 192 |
1 files changed, 0 insertions, 192 deletions
diff --git a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/backslash-escapes.test b/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/backslash-escapes.test deleted file mode 100644 index 182a63747c..0000000000 --- a/macros/generic/markdown/tests/testfiles/Markdown_1.0.3/backslash-escapes.test +++ /dev/null @@ -1,192 +0,0 @@ -<<< -These should all get escaped: - -Backslash: \\ - -Backtick: \` - -Asterisk: \* - -Underscore: \_ - -Left brace: \{ - -Right brace: \} - -Left bracket: \[ - -Right bracket: \] - -Left paren: \( - -Right paren: \) - -Greater-than: \> - -Hash: \# - -Period: \. - -Bang: \! - -Plus: \+ - -Minus: \- - - - -These should not, because they occur within a code block: - - Backslash: \\ - - Backtick: \` - - Asterisk: \* - - Underscore: \_ - - Left brace: \{ - - Right brace: \} - - Left bracket: \[ - - Right bracket: \] - - Left paren: \( - - Right paren: \) - - Greater-than: \> - - Hash: \# - - Period: \. - - Bang: \! - - Plus: \+ - - Minus: \- - - -Nor should these, which occur in code spans: - -Backslash: `\\` - -Backtick: `` \` `` - -Asterisk: `\*` - -Underscore: `\_` - -Left brace: `\{` - -Right brace: `\}` - -Left bracket: `\[` - -Right bracket: `\]` - -Left paren: `\(` - -Right paren: `\)` - -Greater-than: `\>` - -Hash: `\#` - -Period: `\.` - -Bang: `\!` - -Plus: `\+` - -Minus: `\-` - - -These should get escaped, even though they're matching pairs for -other Markdown constructs: - -\*asterisks\* - -\_underscores\_ - -\`backticks\` - -This is a code span with a literal backslash-backtick sequence: `` \` `` - -This is a tag with unescaped backticks <span attr='`ticks`'>bar</span>. - -This is a tag with backslashes <span attr='\\backslashes\\'>bar</span>. ->>> -interblockSeparator -backslash -interblockSeparator -interblockSeparator -interblockSeparator -underscore -interblockSeparator -leftBrace -interblockSeparator -rightBrace -interblockSeparator -interblockSeparator -interblockSeparator -interblockSeparator -interblockSeparator -interblockSeparator -hash -interblockSeparator -interblockSeparator -interblockSeparator -interblockSeparator -interblockSeparator -interblockSeparator -inputVerbatim: ./_markdown_test/127bce8785d826a9ba07a20f6ca866c9.verbatim -interblockSeparator -interblockSeparator -codeSpan: (backslash)(backslash) -interblockSeparator -codeSpan: (backslash)` -interblockSeparator -codeSpan: (backslash)* -interblockSeparator -codeSpan: (backslash)(underscore) -interblockSeparator -codeSpan: (backslash)(leftBrace) -interblockSeparator -codeSpan: (backslash)(rightBrace) -interblockSeparator -codeSpan: (backslash)[ -interblockSeparator -codeSpan: (backslash)] -interblockSeparator -codeSpan: (backslash)( -interblockSeparator -codeSpan: (backslash)) -interblockSeparator -codeSpan: (backslash)> -interblockSeparator -codeSpan: (backslash)(hash) -interblockSeparator -codeSpan: (backslash). -interblockSeparator -codeSpan: (backslash)! -interblockSeparator -codeSpan: (backslash)+ -interblockSeparator -codeSpan: (backslash)- -interblockSeparator -interblockSeparator -interblockSeparator -underscore -underscore -interblockSeparator -interblockSeparator -codeSpan: (backslash)` -interblockSeparator -codeSpan: ticks -interblockSeparator -backslash -backslash |