You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Georg Henzler (JIRA)" <ji...@apache.org> on 2016/06/07 08:28:21 UTC
[jira] [Commented] (SLING-5754) Sightly renders form attributes
always in lowercase
[ https://issues.apache.org/jira/browse/SLING-5754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318124#comment-15318124 ]
Georg Henzler commented on SLING-5754:
--------------------------------------
As it turned out this is not a Sightly problem, but rather happens in com.day.cq.rewriter.htmlparser.TagTokenizer#attributeEnded(...) for all tags that are configured to be rewritten via includeTags configuration. The standard sling generator (org.apache.sling.rewriter.impl.components.HtmlGeneratorFactory) does not do this.
[~kwin] Please close as invalid (as I don't have permissions to do so).
> Sightly renders form attributes always in lowercase
> ---------------------------------------------------
>
> Key: SLING-5754
> URL: https://issues.apache.org/jira/browse/SLING-5754
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting Sightly Engine 1.0.2
> Reporter: Erik Grijzen
>
> Sightly always renders all HTML attributes of a <form> element in lowercase:
> HTML source:
> {code}
> <form [ngFormModel]="..." someAttribute="..."></form>
> {code}
> Actual output:
> {code}
> <form [ngformmodel]="..." someattribute="..."></form>
> {code}
> Expected output:
> {code}
> <form [ngFormModel]="..." someAttribute="..."></form>
> {code}
> For other HTML tags like <div>, <p>, <h1>, etc. it works fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)