Zeta Components
  1. Zeta Components
  2. ZETACOMP-38

RST Multi-line directives in 2nd column of a table do not convert to docbook

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Component/s: Document
    • Labels:
      None
    • Environment:
      PHP 5.3

      Description

      See http://akrabat.pastebin.com/zfzSSgXc for monospaced version

      RST file:

      ----------------------------------------------------+

      .. image:: picture.png .. image:: picture.png
      :alt: alternate text :alt: alternate text

      ----------------------------------------------------+

      Generated XML:

      <?xml version="1.0"?>
      <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
      <article xmlns="http://docbook.org/ns/docbook">
      <table>
      <tgroup>
      <tbody>
      <row>
      <entry>
      <mediaobject>
      <imageobject>
      <imagedata fileref="picture.png"/>
      </imageobject>
      <textobject> alternate text </textobject>
      </mediaobject>
      </entry>
      <entry>
      <mediaobject>
      <imageobject>
      <imagedata fileref="picture.png"/>
      </imageobject>
      </mediaobject>
      <para>:alt: alternate text </para>
      </entry>
      </row>
      </tbody>
      </tgroup>
      </table>
      </article>

      XML of second column should the the same as first. i.e. the ":alt:" is not a paragraph

      Script used to convert: http://akrabat.pastebin.com/tB8c4L4v

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Rob Allen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development