summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/field.html.tmpl')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/field.html.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
index d89c22868..089543c39 100644
--- a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl
@@ -220,7 +220,11 @@ END;
[%# text area %]
<button type="button" class="minor edit-textarea-btn [%= "edit-textarea-set-btn" IF value != "" %]"
id="[% name FILTER html %]-edit">Edit</button>
- <span class="multiline-value" id="[% name FILTER html %]-view">[% value FILTER html FILTER html_line_break %]</span>
+ [% IF content.defined && !append_content %]
+ <span id="[% name FILTER html %]-view">[% content FILTER none %]</span>
+ [% ELSE %]
+ <span class="multiline-value" id="[% name FILTER html %]-view">[% value FILTER html FILTER html_line_break %]</span>
+ [% END %]
<textarea id="[% name FILTER html %]" name="[% name FILTER html %]"
rows="10" cols="10" style="display:none">[% value FILTER html %]</textarea>