Skip to content
Permalink
Browse files

[FIXED JENKINS-27505] Preserve an empty line in the beginning of a te…

…xtarea.
  • Loading branch information...
ikedam committed Mar 21, 2015
1 parent d135db1 commit 9794f026830ae3a9bcd2458a431fd5ee8590a0fe
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/src/main/resources/lib/form/textarea.jelly
@@ -89,6 +89,7 @@ THE SOFTWARE.
readonly="${attrs.readonly}"
codemirror-mode="${attrs['codemirror-mode']}"
codemirror-config="${attrs['codemirror-config']}">
<j:if test="${value != null &amp;&amp; !empty(value.toString()) &amp;&amp; (value.toString().codePointAt(0) == 10 || value.toString().codePointAt(0) == 13)}"><j:whitespace>&#10;</j:whitespace></j:if>
<st:out value="${value}" />
</textarea>
<j:if test="${customizedFields != null and attrs.field != null and value != default}">

0 comments on commit 9794f02

Please sign in to comment.
You can’t perform that action at this time.