diff options
author | gerv%gerv.net <> | 2002-09-27 08:31:52 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-09-27 08:31:52 +0200 |
commit | 1b19c08c0ea4a3bdac06fae889d4a8dc257c802a (patch) | |
tree | 43aa0f1f9d1294853136c294639a4f495b2e2fdd /template/en | |
parent | 37dc5c7799eb5a6d7385f6fda76bb96747979a09 (diff) | |
download | bugzilla-1b19c08c0ea4a3bdac06fae889d4a8dc257c802a.tar.gz bugzilla-1b19c08c0ea4a3bdac06fae889d4a8dc257c802a.tar.xz |
Bug 170822 - Linkification process destroys whitespace. Patch by gerv; r=bbaetz.
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/pages/linked.html.tmpl | 21 | ||||
-rw-r--r-- | template/en/default/pages/linkify.html.tmpl | 2 |
2 files changed, 17 insertions, 6 deletions
diff --git a/template/en/default/pages/linked.html.tmpl b/template/en/default/pages/linked.html.tmpl index 8c854e2bd..c3d02885c 100644 --- a/template/en/default/pages/linked.html.tmpl +++ b/template/en/default/pages/linked.html.tmpl @@ -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><pre></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 %] diff --git a/template/en/default/pages/linkify.html.tmpl b/template/en/default/pages/linkify.html.tmpl index 57f455dd2..dd45c8fe2 100644 --- a/template/en/default/pages/linkify.html.tmpl +++ b/template/en/default/pages/linkify.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"> |