Bug #6935
closedForum Post Preview Pane showing markup
0%
Description
Screenshots attached.
Files
Related issues
Updated by Boone Gorges almost 8 years ago
- Category name set to Group Forums
- Assignee set to Raymond Hoh
Ray, could you have a look? I wonder if this is about bbPress's kses filters for users who don't have unfiltered_html.
Updated by Raymond Hoh almost 8 years ago
- Status changed from New to Resolved
- Target version set to 1.10.4
Thanks for reporting the issue, Luke. Should've tested with a regular user account :)
The issue only exists if you are using the Visual editor and if you are using a non-admin account.
The problem is due to how bbPress escapes HTML elements that are not whitelisted. For some reason, bbPress doesn't whitelist the <p>
tag, so because the Visual editor adds in paragraph tags when you press Enter on your keyboard, you were seeing the encoded HTML <p>
tag in the live preview.
This should be fixed as of the following commit:
https://github.com/cuny-academic-commons/cac/commit/f24ef3798b764dbaedd24fd6371158a6b21385e9
Updated by Raymond Hoh over 7 years ago
- Related to Bug #7873: Paragraph spacing lost in bbPress preview added