struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject svn commit: r1142487 - /struts/struts2/trunk/core/src/main/resources/template/simple/div.ftl
Date Sun, 03 Jul 2011 19:32:59 GMT
Author: lukaszlenart
Date: Sun Jul  3 19:32:59 2011
New Revision: 1142487

URL: http://svn.apache.org/viewvc?rev=1142487&view=rev
Log:
Adds <#rt/> directive to remove empty spaces

Modified:
    struts/struts2/trunk/core/src/main/resources/template/simple/div.ftl

Modified: struts/struts2/trunk/core/src/main/resources/template/simple/div.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/div.ftl?rev=1142487&r1=1142486&r2=1142487&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/simple/div.ftl (original)
+++ struts/struts2/trunk/core/src/main/resources/template/simple/div.ftl Sun Jul  3 19:32:59
2011
@@ -20,13 +20,12 @@
  * under the License.
  */
 -->
-<div
-    <#if parameters.id??>               id="${parameters.id?html}"         </#if>
-    <#if parameters.name??>             name="${parameters.name?html}"         </#if>
-    <#if parameters.cssClass??>         class="${parameters.cssClass?html}"    </#if>
-    <#if parameters.cssStyle??>         style="${parameters.cssStyle?html}"    </#if>
-    <#if parameters.title??>            title="${parameters.title?html}"<#rt/>
-        </#if>
+<div<#rt/>
+<#if parameters.id??> id="${parameters.id?html}"<#rt/></#if>
+<#if parameters.name??> name="${parameters.name?html}"<#rt/></#if>
+<#if parameters.cssClass??> class="${parameters.cssClass?html}"<#rt/></#if>
+<#if parameters.cssStyle??> style="${parameters.cssStyle?html}"<#rt/></#if>
+<#if parameters.title??> title="${parameters.title?html}"<#rt/></#if>
 <#include "/${parameters.templateDir}/simple/scripting-events.ftl" />
 <#include "/${parameters.templateDir}/simple/common-attributes.ftl" />
 <#include "/${parameters.templateDir}/simple/dynamic-attributes.ftl" />



Mime
View raw message