Bug 134368 - Fix textarea + remove some code

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1818 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
akrasilnikov 2013-09-27 10:50:10 +00:00
parent b0295a3fc0
commit 6b1c65a3a4
2 changed files with 3 additions and 3 deletions

View File

@ -1487,8 +1487,6 @@ sub _check_comment {
# Remove any trailing whitespace. Leading whitespace could be
# a valid part of the comment.
$comment =~ s/^\s+//;
$comment =~ s/\s+$//;
$comment =~ s/\s*$//s;
$comment =~ s/\r\n?/\n/g; # Get rid of \r.

View File

@ -173,7 +173,9 @@
width: 100%; height: 150px; display: none;
}
</style>
<textarea id="edit_comment_[% comment.id FILTER html %]" class="bz_textarea" name="edit_comment[[% comment.id FILTER html %]]">[%- comment.body_full() -%]</textarea>
<textarea id="edit_comment_[% comment.id FILTER html %]" class="bz_textarea" name="edit_comment[[% comment.id FILTER html %]]">
[%+ comment.body -%]
</textarea>
[% END %]
</div>
[% END %]