You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2012/08/07 15:00:23 UTC
[jira] (DOXIA-474) Onclick attribute for links gets filtered out
[ https://jira.codehaus.org/browse/DOXIA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=305715#comment-305715 ]
Lukas Theussl commented on DOXIA-474:
-------------------------------------
Doxia does not support any of the [event attributes|http://www.w3schools.com/tags/ref_eventattributes.asp], only [standard attributes|http://www.w3schools.com/tags/ref_standardattributes.asp] are recognized by the sink API. This is documented in the javadocs (see e.g. [link|http://maven.apache.org/doxia/doxia/doxia-sink-api/apidocs/org/apache/maven/doxia/sink/Sink.html#link(java.lang.String, org.apache.maven.doxia.sink.SinkEventAttributes)]).
> Onclick attribute for links gets filtered out
> ---------------------------------------------
>
> Key: DOXIA-474
> URL: https://jira.codehaus.org/browse/DOXIA-474
> Project: Maven Doxia
> Issue Type: Bug
> Components: Module - Xdoc
> Affects Versions: 1.3
> Environment: Maven 3.0.3, Maven Maven Site 3.1, Doxia Module Xdoc 1.3
> Reporter: Angelina Velinska
> Priority: Blocker
>
> The link attribute "onclick" gets filtered out after site generation.
> If the following is defined in an xdoc document:
> <p>
> <a onclick="_gaq.push(['_trackPageview', '/path/to/file']);" href="./path/to/file">Download File</a>
> </p>
> after site generation, it ends up to:
> <p>
> <a href="./path/to/file">Download File</a>
> </p>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira