When I use syntax highlighting (any language), any 0s in the text within the <programlisting> tag is dropped from the HTML. For example, I have... <programlisting language="XML"><![CDATA[<?xml version="1.5"?> <project name="test-bundle" default="main" xmlns:rhq="antlib:org.rhq.bundle"> <rhq:bundle name="example" version="1.0" description="an example bundle">]]> </programlisting> ... in an example. In the HTML output, the 1.5 is correctly rendered, but the "1.0" is rendered as "1." One oddity. I inserted this string, just to test: 0.4.0.5.87.0.0.0.5.6 And it was rendered as: .4..5.87.0..0.5.6 I've tried this with and without CDATA and using different language types. Info: RHEL 5 publican-2.0-0.el5 (this also happened on 1.6 - the upgrade didn't fix it) publican-redhat-2.0-0.el5 publican-jboss-1.9-0.el5
I cannot reproduce this on Fedora 13. When I build that code example into a new Publican book, the output reads: Chapter 1. Test Chapter 1.1. Test Section 1 1.2. Test Section 2 This is a test paragraph <?xml version="1.5"?> <project name="test-bundle" default="main" xmlns:rhq="antlib:org.rhq.bundle"> <rhq:bundle name="example" version="1.0" description="an example bundle">