aboutsummaryrefslogtreecommitdiffstats
path: root/tests/basic
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-08-17 11:45:54 -0400
committerWaylan Limberg <waylan@gmail.com>2011-08-17 11:45:54 -0400
commite5b2813bbf02710c7deb148896085a3dac4828dc (patch)
tree80dfc847569c45737ba22cf3c3dc20e1dae13be8 /tests/basic
parent39e9e08e783df4054b6448f4285ca31c4db24a18 (diff)
downloadmarkdown-e5b2813bbf02710c7deb148896085a3dac4828dc.tar.gz
markdown-e5b2813bbf02710c7deb148896085a3dac4828dc.tar.bz2
markdown-e5b2813bbf02710c7deb148896085a3dac4828dc.zip
Fixed #39. Refactored escaping so that it only escapes a predifined set of chars (the set defined by JG in the syntax rules). All other backslashes are passed through unaltered by the parser. If extensions want to add to the escapable chars, they can append to the list at markdown.ESCAPED_CHARS.
Diffstat (limited to 'tests/basic')
-rw-r--r--tests/basic/backlash-escapes.html1
-rw-r--r--tests/basic/backlash-escapes.txt2
2 files changed, 0 insertions, 3 deletions
diff --git a/tests/basic/backlash-escapes.html b/tests/basic/backlash-escapes.html
index 876775f..e2a9445 100644
--- a/tests/basic/backlash-escapes.html
+++ b/tests/basic/backlash-escapes.html
@@ -9,7 +9,6 @@
<p>Right bracket: ]</p>
<p>Left paren: (</p>
<p>Right paren: )</p>
-<p>Greater-than: &gt;</p>
<p>Hash: #</p>
<p>Period: .</p>
<p>Bang: !</p>
diff --git a/tests/basic/backlash-escapes.txt b/tests/basic/backlash-escapes.txt
index 16447a0..ffb3cd0 100644
--- a/tests/basic/backlash-escapes.txt
+++ b/tests/basic/backlash-escapes.txt
@@ -20,8 +20,6 @@ Left paren: \(
Right paren: \)
-Greater-than: \>
-
Hash: \#
Period: \.