Maven Doxia
  1. Maven Doxia
  2. DOXIA-446

XhtmlBaseSink: problems with xdoc source attributes

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      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.

        Activity

        Hide
        Lukas Theussl added a comment -

        Fixed in r1182273

        Show
        Lukas Theussl added a comment - Fixed in r1182273

          People

          • Assignee:
            Lukas Theussl
            Reporter:
            Lukas Theussl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: