Bug 750782

Summary: Special characters in titles need to be escaped
Product: [Community] PressGang CCMS Reporter: Joshua Wulf <jwulf>
Component: CSProcessorAssignee: Lee Newson <lnewson>
Status: CLOSED WORKSFORME QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: jwulf, lcarlon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-04 10:02:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joshua Wulf 2011-11-02 11:31:47 UTC
The following substitutions need to be made in all titles:

< = &lt;
> = &gt;
& = &amp;


So, for example: the Content Spec directive

Section: This is a <section>

renders as:

<section>
  <title>This is a &lt;section&gt;</title>

Otherwise the characters <>& will break Docbook xml, because they are meaningful as metadata indicators.

Comment 1 Lee Newson 2011-11-03 00:08:01 UTC
Done all <>& are replaced inside of the <title> element. Will be released in Build 13.

Comment 2 Lee Newson 2011-11-03 00:20:57 UTC
Edit sorry Josh i marked off the wrong one when I was going through setting completed bugs.

Anyways I tested this out and from what I can see old versions were already doing this. Could you give an example that this failed to do it on?

Comment 3 Joshua Wulf 2011-11-04 10:02:52 UTC
No examples to hand.