Description of problem: Inline tags that are children of <abstract> get processed as plain text when built into the Book_Info.xml file Version-Release number of selected component (if applicable): 1.1 How reproducible: 100% Steps to Reproduce: 1. Specify an inline tag in the "Abstract:" parameter of a topic map. For example: Abstract: The <citetitle>Foo Guide</title> describes how you... Actual results: This gets built into the Book_Info.xml file as: <abstract><para> The <citetitle>Foo Guide</citetitle> describes how you <para></abstract> and rendered in HTML as: The <citetitle>Foo Guide</title> describes how you... Expected results: Inline tags are not escaped and render properly. Additional info:
This used to work and there are a few people using it already so I'm marking this as a regression.
Fixed in 1.2-SNAPSHOT, Build 201310091335 This was caused by the work we did in 1.0 to escape values so that they can be used in XML, as previously using characters such as "&" would have cause a validation error. I've updated abstract so that it will ignore xml elements and only escape < or > when they are on their own.
Tested with invalid XML. Publican throws and error about mismatched tags. Ideally we should have some kind of validation in the CCMS for this, but I think a Publican validation error is sufficient for now. Tested with Abstract = This <citetitle>Foo Guide</citetitle> represents the <emphasis>workflows</emphasis> and methods which generate the best results for <application>CCMS-generated</application> documentation, and should be used as the first point of guidance for using PressGang CCMS Abstract was displayed correctly.