View Issue Details

IDProjectCategoryView StatusLast Update
5116Composr alpha bug reportsGeneral / Uncategorisedpublic2022-12-02 20:12
ReporterPDStig Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary5116: strip_html is joining words together between different HTML tags
DescriptionLet's say I have the following HTML:
<h1>This is a title</h1>
<\p>This is some text<\/p>

The strip_html result of this will become the following:
This is a titleThis is some text

It does not add a space between title and This, which causes problems such as a SEO keyword becoming "titleThis" .
Additional InformationThe issue seems to be PHP's strip_tags function. May need to add whitespace before calling this?
TagsNo tags attached.
Attach Tags
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

PDStig

2022-12-02 01:17

administrator   ~7767

Added backslashes on the p tags as Mantis tried processing them

Issue History

Date Modified Username Field Change
2022-12-02 01:15 PDStig New Issue
2022-12-02 01:15 PDStig Status Not Assigned => Assigned
2022-12-02 01:15 PDStig Assigned To => Chris Graham
2022-12-02 01:16 PDStig Description Updated
2022-12-02 01:17 PDStig Note Added: 0007767
2022-12-02 20:12 Chris Graham Status Assigned => Resolved
2022-12-02 20:12 Chris Graham Resolution open => fixed
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised