You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/22 14:14:00 UTC

[jira] [Commented] (WICKET-6815) Incorrect parsing of html attributes

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

ASF subversion and git services commented on WICKET-6815:
---------------------------------------------------------

Commit 19eee9d1451d17c72319a696241e3db71c91d7ce in wicket's branch refs/heads/master from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=19eee9d ]

WICKET-6815 Incorrect parsing of html attributes

Allow '-' in namespaces.
Allow ':' and '@' as start char in attribute names.


> Incorrect parsing of html attributes
> ------------------------------------
>
>                 Key: WICKET-6815
>                 URL: https://issues.apache.org/jira/browse/WICKET-6815
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 8.9.0
>            Reporter: Ilia Naryzhny
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>              Labels: parser
>
> For modern JavaScript frameworks it's important to have support for special/extra HTML elements attributes. For example:
>  <label v-bind:test="test" :test2="test2" @click="test3">This is inplace tag</label>
> It's pretty valid markup for Vue.JS. This tag will be rendered by Wicket currectly.
> But if you bind this element to wicket by adding wicket:id="id" Wicket will produce incorrect HTML output:
> <label wicket:id="tag" v-bind="" test="test" test2="test2" click="test3">This is test tag</label>
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)