Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-446

XhtmlBaseSink: problems with xdoc source attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.3
    • Core
    • None

    Description

      Given the xdoc snippet

      <source class="pretty">some source</source>
      

      the generated html output is

      <div class="source"><pre>some source</pre></div>
      

      ie the class attribute gets replaced. I think the correct output should be

      <div class="source"><pre class="pretty">some source</pre></div>
      

      Another problem: take

      <source id="pretty">some source</source>
      

      This gets transformed into

      <div class="source" id="pretty"><pre id="pretty">some source</pre></div>
      

      which is not valid xhtml because of the duplicate id.

      Attachments

        Activity

          People

            ltheussl Lukas Theussl
            ltheussl Lukas Theussl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: