#5116 - strip_html is joining words together between different HTML tags

  • By
  • Added
  • 7 views
Identifier #5116
Issue type Minor issue (breaks specific functionality)
Title strip_html is joining words together between different HTML tags
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description Let'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" .
Steps to reproduce

Additional information The issue seems to be PHP's strip_tags function. May need to add whitespace before calling this?
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated