Commit 1b19c08c authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 170822 - Linkification process destroys whitespace. Patch by gerv; r=bbaetz.

parent 37dc5c77
......@@ -26,18 +26,29 @@
Copy and paste the text below:
</p>
<hr>
<p>
<tt>
[% quoteUrls(form.text) FILTER html %]
</tt>
<pre>
[%- quoteUrls(form.text) FILTER html -%]
</pre>
</p>
<hr>
<p>
It will end up looking like this:
If you place it in <tt>&lt;pre&gt;</tt> tags,
the text will end up looking like this:
</p>
<hr>
<p>
[% quoteUrls(form.text) %]
<pre>
[%- quoteUrls(form.text) -%]
</pre>
</p>
<hr>
[% INCLUDE global/footer.html.tmpl %]
......@@ -29,7 +29,7 @@
</p>
<form action="page.cgi" method="post">
<textarea cols="80" rows="20" name="text"></textarea>
<textarea cols="80" rows="20" name="text" wrap="hard"></textarea>
<br>
<input type="hidden" name="id" value="linked.html">
<input value="Linkify" type="submit">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment