[ 
https://jira.codehaus.org/browse/DOXIA-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Theussl closed DOXIA-446.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3
         Assignee: Lukas Theussl

Fixed in [r1182273|http://svn.apache.org/viewvc?rev=1182273&view=rev]

> XhtmlBaseSink: problems with xdoc source attributes
> ---------------------------------------------------
>
>                 Key: DOXIA-446
>                 URL: https://jira.codehaus.org/browse/DOXIA-446
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2
>            Reporter: Lukas Theussl
>            Assignee: Lukas Theussl
>             Fix For: 1.3
>
>
> Given the xdoc snippet
> {code:xml}
> <source class="pretty">some source</source>
> {code}
> the generated html output is
> {code:xml}
> <div class="source"><pre>some source</pre></div>
> {code}
> ie the class attribute gets replaced. I think the correct output should be
> {code:xml}
> <div class="source"><pre class="pretty">some source</pre></div>
> {code}
> Another problem: take
> {code:xml}
> <source id="pretty">some source</source>
> {code}
> This gets transformed into
> {code:xml}
> <div class="source" id="pretty"><pre id="pretty">some source</pre></div>
> {code}
> which is not valid xhtml because of the duplicate id.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to