You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2008/11/06 22:11:46 UTC
[jira] Assigned: (TAP5-333) Tapestry 5 renders an XHTML label
incorrectly
[ https://issues.apache.org/jira/browse/TAP5-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship reassigned TAP5-333:
-----------------------------------------
Assignee: Howard M. Lewis Ship
> Tapestry 5 renders an XHTML label incorrectly
> ---------------------------------------------
>
> Key: TAP5-333
> URL: https://issues.apache.org/jira/browse/TAP5-333
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.0.16
> Reporter: Peter Stavrinides
> Assignee: Howard M. Lewis Ship
> Priority: Minor
>
> The Tapestry markup renderer renders an empty XHTML <label /> incorrectly, it encloses subsequent elements instead of closing immediately, example:
> This line of code:
> <label class="formLabel" /><t:textfield t:id="address2" value="site.address2" /><br/>
> Is rendering as:
> <label class="formLabel">
> <input id="address2" type="text" name="address2"/>
> <img id="address2:icon" class="t-error-icon" src="../../assets/5.0.16-SNAPSHOT/tapestry/spacer.gif" alt="" style="display: none;"/>
> <br/>
> </label>
> instead of:
> <label class="formLabel inlineBlock"/>
> <input id="address2" type="text" name="address2"/>
> <img id="address2:icon" class="t-error-icon" src="../../assets/5.0.16-SNAPSHOT/tapestry/spacer.gif" alt="" style="display: none;"/>
> <br/>
> It appears an empty tag or whitespace is not dealt with.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org