diff options
author | Waylan Limberg <waylan@gmail.com> | 2007-10-11 01:02:30 +0000 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2007-10-11 01:02:30 +0000 |
commit | 503c9d416ef1ec7f6d820290c28d6ca1906cb8a0 (patch) | |
tree | e65341c20db9d22967528db55abeda9d19821c27 /tests | |
parent | 5d3f2f3020d6d15ef34dba5e195747c6f048d518 (diff) | |
download | markdown-503c9d416ef1ec7f6d820290c28d6ca1906cb8a0.tar.gz markdown-503c9d416ef1ec7f6d820290c28d6ca1906cb8a0.tar.bz2 markdown-503c9d416ef1ec7f6d820290c28d6ca1906cb8a0.zip |
Replace LineBreaks preprocessor with an inlinePattern and update tests. Blank lines (" \n") and headers no longer get linebreaks and the two spaces are no longer preserved.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/markdown-test/markdown-documentation-basics.html | 9 | ||||
-rw-r--r-- | tests/misc/headers.html | 8 | ||||
-rw-r--r-- | tests/misc/html.html | 7 | ||||
-rw-r--r-- | tests/misc/some-test.html | 13 | ||||
-rw-r--r-- | tests/misc/two-spaces.html | 13 |
5 files changed, 17 insertions, 33 deletions
diff --git a/tests/markdown-test/markdown-documentation-basics.html b/tests/markdown-test/markdown-documentation-basics.html index fdfc33b..1dafe24 100644 --- a/tests/markdown-test/markdown-documentation-basics.html +++ b/tests/markdown-test/markdown-documentation-basics.html @@ -1,5 +1,3 @@ - - <h1>Markdown: Basics</h1> <ul id="ProjectSubmenu"> <li><a href="/projects/markdown/" title="Markdown Project Page">Main</a></li> @@ -103,9 +101,7 @@ Some of these words <em>are emphasized also</em>.</p> <p>Use two asterisks for <strong>strong emphasis</strong>. Or, if you prefer, <strong>use two underscores instead</strong>.</p> -</code></pre><p> <br /> -</p> - +</code></pre> <h2>Lists</h2> <p>Unordered (bulleted) lists use asterisks, pluses, and hyphens (<code>*</code>, <code>+</code>, and <code>-</code>) as list markers. These three markers are @@ -262,5 +258,4 @@ you've got to put paragraph tags in your blockquotes:</p> &lt;p&gt;For example.&lt;/p&gt; &lt;/blockquote&gt; </code></pre> -</code></pre> - +</code></pre>
\ No newline at end of file diff --git a/tests/misc/headers.html b/tests/misc/headers.html index 306eb65..61bc266 100644 --- a/tests/misc/headers.html +++ b/tests/misc/headers.html @@ -1,14 +1,10 @@ - - <h3>Hello world</h3> <p>Line 2 Line 3 </p> -<h1>[Markdown][5] <br /></h1> +<h1>[Markdown][5]</h1> <h1><a href="http://some.link.com/">Markdown</a></h1> -<h1>[5]: http://foo.com/</h1> - - +<h1>[5]: http://foo.com/</h1>
\ No newline at end of file diff --git a/tests/misc/html.html b/tests/misc/html.html index 6db122a..1209112 100644 --- a/tests/misc/html.html +++ b/tests/misc/html.html @@ -1,13 +1,10 @@ - <h1>Block level html</h1> -<p>Some inline <b>stuff<b>. <br /> +<p>Some inline <b>stuff<b>.<br /> </p> <p>Now some <arbitrary>arbitrary tags</arbitrary>. </p> <p>And of course <script>blah</script>. </p> <p><a href="script>stuff</script">this <script>link</a> -</p> - - +</p>
\ No newline at end of file diff --git a/tests/misc/some-test.html b/tests/misc/some-test.html index 9a6655e..646482e 100644 --- a/tests/misc/some-test.html +++ b/tests/misc/some-test.html @@ -1,4 +1,3 @@ - <hr /> <ul> @@ -66,12 +65,13 @@ <li><p>Python is ok Or not? - <br /> - Here is a normal paragraph </p> </li> - +</ul> +<p>Here is a normal paragraph +</p> +<ol> <li><p>Another list with a bunch of items </p> @@ -91,7 +91,7 @@ </ol> </li> -</ul> +</ol> <p>asdfasdfasd </p> <pre><code># This is a code example @@ -101,5 +101,4 @@ Another code example * Lists and similar stuff > Should be ignored -</code></pre> - +</code></pre>
\ No newline at end of file diff --git a/tests/misc/two-spaces.html b/tests/misc/two-spaces.html index 10f8483..e66fe43 100644 --- a/tests/misc/two-spaces.html +++ b/tests/misc/two-spaces.html @@ -1,9 +1,6 @@ - -<p>This line has two spaces at the end <br /> - but this one has none - but this line has three <br /> - and this is the second from last line +<p>This line has two spaces at the end<br /> +but this one has none + but this line has three <br /> +and this is the second from last line in this test message -</p> - - +</p>
\ No newline at end of file |