Maven Doxia
  1. Maven Doxia
  2. DOXIA-446

XhtmlBaseSink: problems with xdoc source attributes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: Core
    • Labels:
      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.

        Activity

        Lukas JOSEFIK created issue -
        Lukas Theussl made changes -
        Field Original Value New Value
        Assignee Lukas Theussl [ lukas ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.3 [ 17336 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:30:24 UTC 2015 [ 1428226224715 ]
        Mark Thomas made changes -
        Workflow jira [ 12719857 ] Default workflow, editable Closed status [ 12748546 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 23:17:25 UTC 2015 [ 1428275845026 ]
        Mark Thomas made changes -
        Workflow jira [ 12957003 ] Default workflow, editable Closed status [ 12993997 ]
        Mark Thomas made changes -
        Reporter Lukas JOSEFIK [ lukas ] Lukas Theussl [ ltheussl ]
        Mark Thomas made changes -
        Assignee Lukas JOSEFIK [ lukas ] Lukas Theussl [ ltheussl ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development