Bug 1037871 - Rendered views are not displaying text like &ENTITY; properly.
Summary: Rendered views are not displaying text like &ENTITY; properly.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.4
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-04 01:13 UTC by Matthew Casperson
Modified: 2014-08-04 22:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-23 23:43:56 UTC


Attachments (Terms of Use)

Comment 1 Lee Newson 2013-12-11 05:41:58 UTC
Fixed in 1.4-SNAPSHOT build 201312111516

This was caused by two things:

1. The escapeAllCustomEntites() method was attempting to replace all entities because it was using "&" to check against a list that only had entity names.
2. The replace that was being performed was being done multiple times, so since there were 7 "&" entities in the topic the output for each "&" was it being escaped 7 times. eg: "&"

Note: This version is currently live on the development/test server (see topic 49539).

Comment 2 Matthew Casperson 2014-01-27 23:44:44 UTC
Confirmed


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