Uploaded image for project: 'Forrest (Retired)'
  1. Forrest (Retired)
  2. FOR-115

[PATCH] docbook2document.xsl: missing table element for images

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.6
    • Skins (general issues)
    • None

    Description

      The html generated from a docbook source file containing a mediaobject element with an associated image has a missing container table element. The result of which is that the html is incorrect and causes the display to be messed up.

      Given the following in a document

      <mediaobject>
        <imageobject>
          <imagedata fileref="images/imageA.png" format="PNG"/>
        </imageobject>
      </mediaobject>

      the following is the resultant section of html

      <tr>
      <td><img alt="" src="images/imageA.png"></td>
      </tr>

      This requires a wrapper <table> element for it to be valid html. The affected files are

      src/core/context/resources/stylesheets/docbook2document.xsl

      Attachments

        Activity

          People

            brondsem David Philip Brondsema
            rexley Rob Exley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: