[Rt-commit] rt branch, 4.0/template_newline_chop_fix, created. rt-4.0.8-275-g46cd59b

Todd Wade todd at bestpractical.com
Wed Dec 19 12:19:44 EST 2012


The branch, 4.0/template_newline_chop_fix has been created
        at  46cd59b28a784df39ccaef194d21c63965a27216 (commit)

- Log -----------------------------------------------------------------
commit 46cd59b28a784df39ccaef194d21c63965a27216
Author: Todd Wade <todd at bestpractical.com>
Date:   Wed Dec 19 12:15:50 2012 -0500

    21152: Each time you save a Template a newline is chopped off the front
    http://issues.bestpractical.com/Ticket/Display.html?id=21152
    
    add newlines around <%$Content%> that were removed in 2d96251#L0L79

diff --git a/share/html/Admin/Elements/ModifyTemplate b/share/html/Admin/Elements/ModifyTemplate
index 5746c06..b34d7cf 100644
--- a/share/html/Admin/Elements/ModifyTemplate
+++ b/share/html/Admin/Elements/ModifyTemplate
@@ -63,7 +63,9 @@
 </tr>
 <tr>
 <td class="label" valign="top"><&|/l&>Content</&>:</td>
-<td class="value"><textarea name="Content" rows="25" cols="80" wrap="soft"><%$Content||''%></textarea></td>
+<td class="value"><textarea name="Content" rows="25" cols="80" wrap="soft">
+<%$Content||''%>
+</textarea></td>
 </tr>
 </table>
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list