mkanat%bugzilla.org 66ee0ef6c2 Bug 388723: Make the browser wrap comments on display in addition to the normal wrapping, to support CJK languages that have no spaces.
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=himorin, r=glob


git-svn-id: svn://10.0.0.236/trunk@245277 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 23:19:32 +00:00

56 lines
1.4 KiB
Cheetah

[%# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is the Bugzilla Bug Tracking System.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Stefan Seifert <nine@detonation.org>
# Gervase Markham <gerv@gerv.net>
#%]
[% INCLUDE global/header.html.tmpl title = "Your Linkified Text" %]
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]
<p>
Copy and paste the text below:
</p>
<hr>
<p>
<pre class="bz_comment_text">
[%- cgi.param("text") FILTER wrap_comment FILTER quoteUrls FILTER html -%]
</pre>
</p>
<hr>
<p>
If you place it in <tt>&lt;pre&gt;</tt> tags,
the text will end up looking like this:
</p>
<hr>
<p>
<pre class="bz_comment_text">
[%- cgi.param("text") FILTER wrap_comment FILTER quoteUrls -%]
</pre>
</p>
<hr>
[% INCLUDE global/footer.html.tmpl %]