Bug 1033409

Summary: Special characters (specifically  ) in subtitle doesn't convert
Product: [Community] PressGang CCMS Reporter: Dan Macpherson <dmacpher>
Component: DocBook-builderAssignee: Lee Newson <lnewson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2CC: lnewson, mcaspers
Target Milestone: ---   
Target Release: 1.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-03 22:16:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dan Macpherson 2013-11-22 03:58:26 UTC
Description of problem:
Built a book with a &nbsp; in the subtitle and it didn't seem to convert.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Include a &nbsp; in the subtitle for a content spec
2.
3.

Actual results:
Literally "&nbsp;" appears instead of a non-breaking space

Expected results:
A non-breaking space.

Additional info:

Comment 1 Lee Newson 2013-11-22 04:08:48 UTC
Fixed in 1.3-SNAPSHOT build 201311221402

The subtitle and product fields were getting cleansed so that any entities or elements would appear as is, however this shouldn't have been happening and it should have only been cleansing other values.

Comment 2 Lee Newson 2013-11-24 22:31:56 UTC
*** Bug 1033816 has been marked as a duplicate of this bug. ***

Comment 4 Matthew Casperson 2013-11-25 21:08:26 UTC
Confirmed that the entities &nbsp; &lt; &gt; &amp; &quot; &apos; are rendered as their corresponding characters in the title and subtitle.

Comment 5 Matthew Casperson 2013-11-25 21:21:02 UTC
Custom entities do not work in a subtitle. So 

Subtitle = &TEST;
Entities = [
  <!ENTITY TEST "Hi There">
]

returns

INFO:  The Content Specification is valid.
ERROR: An error occurred during processing please try again and if another failure occurs please log a bug.

Comment 6 Lee Newson 2013-11-26 02:22:45 UTC
See: https://bugzilla.redhat.com/show_bug.cgi?id=1014455#c13

Comment 7 Matthew Casperson 2013-11-26 04:45:07 UTC
Confirmed that custom entities appear in subtitle.