summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-01-23 17:22:40 +0100
committerDylan William Hardison <dylan@hardison.net>2018-01-23 17:22:40 +0100
commit6d835375c1ccb19efabb1768acfb0d361ef931b4 (patch)
tree447321488842032e5c1d930d40b896d2e476689f /template/en/default
parent67f06149b92e4ff8a7cbc671f2a00c4c566efa04 (diff)
downloadbugzilla-6d835375c1ccb19efabb1768acfb0d361ef931b4.tar.gz
bugzilla-6d835375c1ccb19efabb1768acfb0d361ef931b4.tar.xz
Bug 1428270 - Unwrappable content in summary can cause top buttons to bleed out of main content box
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/bug/edit.html.tmpl2
-rw-r--r--template/en/default/list/table.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 22e1ab05a..84a20b97e 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -253,7 +253,7 @@
(<span id="alias_nonedit_display">[% bug.alias FILTER html %]</span>)
[% END %]
[% END %]
- <span role="heading" aria-level="1" id="short_desc_nonedit_display">[% bug.short_desc FILTER quoteUrls(bug) %]</span>
+ <span role="heading" aria-level="1" id="short_desc_nonedit_display">[% bug.short_desc FILTER quoteUrls(bug) FILTER wbr %]</span>
[% IF bug.check_can_change_field('short_desc', 0, 1) ||
bug.check_can_change_field('alias', 0, 1) %]
<small class="editme">(<a href="#" id="editme_action">edit</a>)</small>
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index b1ab82a41..df2f6b349 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -230,7 +230,7 @@
col_abbrev.ellipsis) FILTER html %]
[% ELSIF column == 'short_desc' || column == "short_short_desc" %]
<a href="show_bug.cgi?id=[% bug.bug_id FILTER html %]">
- [%- bug.$column.truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%]
+ [%- bug.$column.truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html FILTER wbr -%]
</a>
[% ELSIF bug_fields.$column.type == constants.FIELD_TYPE_BUG_ID %]
<a href="show_bug.cgi?id=[% bug.$column FILTER html %]">