From 77aed9225bc0fbb90459a2ead7d99de9aaf1796f Mon Sep 17 00:00:00 2001 From: Yuri Takhteyev Date: Tue, 26 Aug 2008 00:30:10 -0700 Subject: Adding old MarkdownTest.pl tests. --- MarkdownTest/Tests_2004/Backslash escapes.text-res | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 MarkdownTest/Tests_2004/Backslash escapes.text-res (limited to 'MarkdownTest/Tests_2004/Backslash escapes.text-res') diff --git a/MarkdownTest/Tests_2004/Backslash escapes.text-res b/MarkdownTest/Tests_2004/Backslash escapes.text-res new file mode 100644 index 0000000..1aae6cc --- /dev/null +++ b/MarkdownTest/Tests_2004/Backslash escapes.text-res @@ -0,0 +1,79 @@ + + + + + + + +

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: \-

+ + -- cgit v1.2.3