summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl6
-rw-r--r--extensions/BugModal/web/bug_modal.css1
2 files changed, 2 insertions, 5 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index 75aab63d3..d89e12127 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -874,11 +874,7 @@
[% END %]
</div>
[% END %]
- [% IF bug.cf_user_story == "" %]
- ---
- [% ELSE %]
- <pre id="user-story">[% bug.cf_user_story FILTER html %]</pre>
- [% END %]
+ <pre id="user-story">[% bug.cf_user_story FILTER html %]</pre>
[% IF user.id %]
<textarea id="cf_user_story" name="cf_user_story" style="display:none" rows="10" cols="80">
[%~ bug.cf_user_story FILTER html ~%]
diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css
index 694a726a5..b9e6817fc 100644
--- a/extensions/BugModal/web/bug_modal.css
+++ b/extensions/BugModal/web/bug_modal.css
@@ -256,6 +256,7 @@ input[type="number"] {
#user-story {
margin: 0;
+ white-space: pre-wrap;
}
#user-story-actions {