You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by rg...@apache.org on 2007/03/08 21:00:59 UTC
svn commit: r516162 -
/struts/struts2/trunk/core/src/main/resources/template/simple/a.ftl
Author: rgielen
Date: Thu Mar 8 12:00:58 2007
New Revision: 516162
URL: http://svn.apache.org/viewvc?view=rev&rev=516162
Log:
WW-1762:
Applied Erik Berg's patch to beautify anchor tag output
Modified:
struts/struts2/trunk/core/src/main/resources/template/simple/a.ftl
Modified: struts/struts2/trunk/core/src/main/resources/template/simple/a.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/template/simple/a.ftl?view=diff&rev=516162&r1=516161&r2=516162
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/template/simple/a.ftl (original)
+++ struts/struts2/trunk/core/src/main/resources/template/simple/a.ftl Thu Mar 8 12:00:58 2007
@@ -1,7 +1,10 @@
-<a
- <#if parameters.id?if_exists != "">id="${parameters.id?html}"</#if>
- <#if parameters.href?if_exists != "">href="${parameters.href}"</#if>
-
+<a<#rt/>
+<#if parameters.id?if_exists != "">
+ id="${parameters.id?html}"<#rt/>
+</#if>
+<#if parameters.href?if_exists != "">
+ href="${parameters.href}"<#rt/>
+</#if>
<#if parameters.tabindex?exists>
tabindex="${parameters.tabindex?html}"<#rt/>
</#if>