aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-05-14 23:13:18 -0400
committerWaylan Limberg <waylan@gmail.com>2008-05-14 23:13:18 -0400
commita91e308363eeacd77270cdcb3df2109e0cfe2d18 (patch)
tree822ca36517a1c59b95c703eb8dad3075045764dd /tests
parentc0c88a2777a1641d4312b6aafe454f466fe104b2 (diff)
downloadmarkdown-a91e308363eeacd77270cdcb3df2109e0cfe2d18.tar.gz
markdown-a91e308363eeacd77270cdcb3df2109e0cfe2d18.tar.bz2
markdown-a91e308363eeacd77270cdcb3df2109e0cfe2d18.zip
Allow hashes (#) in body of headers -- with tests. Thank you John Szakmeister for the bug report and patch.
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/headers.html4
-rw-r--r--tests/misc/headers.txt2
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/misc/headers.html b/tests/misc/headers.html
index 61bc266..7041eda 100644
--- a/tests/misc/headers.html
+++ b/tests/misc/headers.html
@@ -7,4 +7,6 @@
<h1><a href="http://some.link.com/">Markdown</a></h1>
-<h1>[5]: http://foo.com/</h1> \ No newline at end of file
+<h1>[5]: http://foo.com/</h1>
+
+<h1>Issue #1: Markdown</h1>
diff --git a/tests/misc/headers.txt b/tests/misc/headers.txt
index 1cb9bc0..2ddb391 100644
--- a/tests/misc/headers.txt
+++ b/tests/misc/headers.txt
@@ -7,3 +7,5 @@ Line 3
# [Markdown](http://some.link.com/)
# [5]: http://foo.com/
+
+# Issue #1: Markdown