Project

General

Profile

Actions

Bug #6935

closed

Forum Post Preview Pane showing markup

Added by Luke Waltzer almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Group Forums
Target version:
Start date:
2016-12-05
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Screenshots attached.


Files


Related issues

Related to CUNY Academic Commons - Bug #7873: Paragraph spacing lost in bbPress previewResolvedRaymond Hoh2017-03-31

Actions
Actions #1

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.

Actions #2

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

Actions #3

Updated by Raymond Hoh over 7 years ago

  • Related to Bug #7873: Paragraph spacing lost in bbPress preview added
Actions

Also available in: Atom PDF