Bug 1033409 - Special characters (specifically  ) in subtitle doesn't convert
Summary: Special characters (specifically  ) in subtitle doesn't convert
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: DocBook-builder
Version: 1.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.3
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
: 1033816 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-22 03:58 UTC by Dan Macpherson
Modified: 2013-12-03 22:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-03 22:16:05 UTC


Attachments (Terms of Use)

Description Dan Macpherson 2013-11-22 03:58:26 UTC
Description of problem:
Built a book with a   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   in the subtitle for a content spec
2.
3.

Actual results:
Literally " " 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   < > & " ' 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.


Note You need to log in before you can comment on or make changes to this bug.