[ 
https://issues.apache.org/jira/browse/TAP5-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799965#comment-16799965
 ] 

Benjamin Weidig commented on TAP5-473:
--------------------------------------

I've actually having this problem right now with Tapestry 5.4.3.

If the "foo" contains a <div> it's rendered outside of the <p>, if it's just 
text it's rendered in the <p>.

> t:outputRaw renders improperly when wrapped in a p tag
> ------------------------------------------------------
>
>                 Key: TAP5-473
>                 URL: https://issues.apache.org/jira/browse/TAP5-473
>             Project: Tapestry 5
>          Issue Type: Bug
>    Affects Versions: 5.1.0.0, 5.0.18
>         Environment: Tapestry 5.0.18
>            Reporter: David Rees
>            Assignee: Howard M. Lewis Ship
>            Priority: Major
>
> If you have this in a .tml file:
> <p><t:outputRaw value="${foo}"/></p>
> And foo is "Hello world!" this gets rendered like:
> <p></p>Hello world!
> When it should get rendered like
> <p>Hello world!</p>
> Replacing the <p> tag with a <div> works as expected.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to