Affects Version/s: 6.1.20 EE GA2, 6.1.X EE, 6.2.X EE
Fix Version/s: None
Environment:LIFERAY VERSION: 6.1 GA2
OPERATING SYSTEM: N/A
APPLICATION SERVER: Tomcat 7.0
JAVA VIRTUAL MACHINE: N/A
DATABASE: Oracle 11.1
Issue: The Strip Filter in Liferay is removing double spaces within the HTML attribute value and is instead replacing them with a single space. In some instances, the double spaces is necessary because it is part of a HTML DOM Attribute ID, used dynamically.
Steps to Reproduce
1. Place a Web Content Display Portlet on a page
2. Add a Web Content article
3. In the CKEditor, switch to source mode and enter the following text:
<div id="Index Tenor">Testing</div>
4. Publish the article.
5. On the page with the Web Content article, navigate to the Page Source and note that <div id="Index Tenor"> is <div id="Index Tenor">.
Once I disable the Strip Filter with the following property:
The double space is not removed and it keeps the following form:
<div id="Index Tenor">