#2749 - Improper placement of non breaking spaces

  • By
  • Added
  • 4 views
Identifier #2749
Issue type Minor issue (breaks specific functionality)
Title Improper placement of non breaking spaces
Status Completed
Handling member Chris Graham
Addon core_html_abstractions
Description sometimes Composr puts the non-breaking space (nbsp) in very obscure places. For example, it may make a whole paragraph with nothing but a non-breaking space. Or it may throw them at the end of content before an HTML close tag.

What is most frustrating though is sometimes Composr will replace a space between a URL and continuing text with the non-breaking space. For example, if I have:

"Please go to http://example.com for more information"

It will convert to:

"Please go to http://example.com for more information"

and what happens is the link then converts in error to "http://example.com for" (or "http://example.com%20for" if you format it).
Steps to reproduce

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