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
Similar Issues:Show 5 results
LPS-2025 Strip Filter affecting text areas LPS-1653 Strip filter should be slightly less aggressive LPS-12972 StripFilter strips blog rss feed LPS-27827 Need Strip filter which removes only empty line breaks from response JSP LPS-47280 Message Boards - Email notification with code blocks that has one space in the beginning of the line is being stripped out
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">