You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (JIRA)" <de...@myfaces.apache.org> on 2018/06/06 11:43:00 UTC

[jira] [Commented] (TOBAGO-1903) new attribute keepLineBreaks: tc:out should be usable without rendering a
for a \n

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

Hudson commented on TOBAGO-1903:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago Trunk #1453 (See [https://builds.apache.org/job/Tobago%20Trunk/1453/])
TOBAGO-1903: new attribute keepLineBreaks: tc:out should be usable (lofwyr: rev 685d1a0e09d208f9e73fd41e013aeba3520312c0)
* (edit) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIOut.java
* (edit) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/OutTagDeclaration.java
* (edit) tobago-example/tobago-example-demo/src/main/webapp/main.xhtml
* (edit) tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/OutRenderer.java
* (edit) tobago-core/src/main/java/org/apache/myfaces/tobago/component/Attributes.java


> new attribute keepLineBreaks: tc:out should be usable without rendering a <br> for a \n
> ---------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1903
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1903
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>
> Normaly a \n will be rendered as <br> in HTML to support pre-formatted text in a simple way.
> The new attribute keepLineBreaks does this in the same way (default=true), or renders with keepLineBreaks=false as normal encoded &#x0a; characters.
> The attribute is only used, when escape=true (default).



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