#2632 closed defect (bug) (fixed)
Activity Stream doesn't close HTML tags
| Reported by: | paulhastings0 | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.6 |
| Component: | Activity | Version: | |
| Severity: | Keywords: | has-patch, tested | |
| Cc: |
Description
I noticed today that the activity stream doesn't close HTML tags. One of our users left a comment that began an <i> tag but he forgot to close it. The rest of the site content underneath it then changed into italics.
This video shows what it looked like: http://screencast.com/t/MjAzZmQ0ZTkt
I believe that WordPress posts try to automatically close all commonly used HTML tags. Could BuddyPress do that as well?
Attachments (1)
Change History (4)
#1
@
16 years ago
- Keywords has-patch tested added; HTML automatically close HTML tags removed
- Milestone 1.3 → 1.2.6
- Priority normal → major
I think this should have been caught by the force_balance_tags filter on bp_get_activity_content_body, but it doesn't seem to fix this, so the patch adds the filter on the way into the database which it probably always should have had anyway.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
v1