You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "Rob Allen (JIRA)" <ji...@apache.org> on 2011/01/05 20:29:46 UTC
[jira] Created: (ZETACOMP-38) RST Multi-line directives in 2nd
column of a table do not convert to docbook
RST Multi-line directives in 2nd column of a table do not convert to docbook
----------------------------------------------------------------------------
Key: ZETACOMP-38
URL: https://issues.apache.org/jira/browse/ZETACOMP-38
Project: Zeta Components
Issue Type: Bug
Components: Document
Environment: PHP 5.3
Reporter: Rob Allen
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.