From 02c618aacd7f1b4683b73e93fa063d4db9e02fcd Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 9 Feb 2008 05:18:59 +0000 Subject: 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 r=himorin, r=glob --- template/en/default/attachment/midair.html.tmpl | 4 +++- template/en/default/bug/comments.html.tmpl | 3 ++- template/en/default/bug/process/midair.html.tmpl | 4 +++- template/en/default/pages/linked.html.tmpl | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/attachment/midair.html.tmpl b/template/en/default/attachment/midair.html.tmpl index 8cde9f2f5..f0883b55b 100644 --- a/template/en/default/attachment/midair.html.tmpl +++ b/template/en/default/attachment/midair.html.tmpl @@ -50,7 +50,9 @@ [% IF cgi.param("comment") %]

Your comment was:
-

[% cgi.param("comment") FILTER wrap_comment FILTER html %]
+
+    [% cgi.param("comment") FILTER wrap_comment FILTER html %]
+  

[% END %] diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 1fc5d46d3..da3fe3a9d 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -216,7 +216,8 @@ [% ELSE %] [% wrapped_comment = comment.body FILTER wrap_comment %] [% END %] - +
   [%- wrapped_comment FILTER quoteUrls(bug.bug_id) -%]
 
diff --git a/template/en/default/bug/process/midair.html.tmpl b/template/en/default/bug/process/midair.html.tmpl index 31dbc7b3c..d7e980e8c 100644 --- a/template/en/default/bug/process/midair.html.tmpl +++ b/template/en/default/bug/process/midair.html.tmpl @@ -66,7 +66,9 @@ [% IF cgi.param("comment") %]

Your comment was:
-

[% cgi.param("comment") FILTER wrap_comment FILTER html %]
+
+    [% cgi.param("comment") FILTER wrap_comment FILTER html %]
+  

[% END %] diff --git a/template/en/default/pages/linked.html.tmpl b/template/en/default/pages/linked.html.tmpl index a5e40d122..52b1735f6 100644 --- a/template/en/default/pages/linked.html.tmpl +++ b/template/en/default/pages/linked.html.tmpl @@ -30,7 +30,7 @@

-

+
 [%- cgi.param("text") FILTER wrap_comment FILTER quoteUrls FILTER html -%]
 

@@ -45,7 +45,7 @@

-

+
 [%- cgi.param("text") FILTER wrap_comment FILTER quoteUrls -%]
 

-- cgit v1.2.3-24-g4f1b