View Issue Details

IDProjectCategoryView StatusLast Update
0005116Composr alpha bug reports[All Projects] General / Uncategorisedpublic2022-12-02 20:12
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Summary0005116: 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.
Sponsorship open

Activities

Patrick Schmalstig

2022-12-02 01:17

administrator   ~0007767

Added backslashes on the p tags as Mantis tried processing them

Issue History

Date Modified Username Field Change
2022-12-02 01:15 Patrick Schmalstig New Issue
2022-12-02 01:15 Patrick Schmalstig Status non-assigned => assigned
2022-12-02 01:15 Patrick Schmalstig Assigned To => Chris Graham
2022-12-02 01:16 Patrick Schmalstig Description Updated View Revisions
2022-12-02 01:17 Patrick Schmalstig 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