View Issue Details

IDProjectCategoryView StatusLast Update
2749Composrcore_html_abstractionspublic2016-07-30 15:23
ReporterPDStig Assigned ToChris Graham  
PriorityhighSeverityminor 
Status resolvedResolutionfixed 
Summary2749: Improper placement of non breaking spaces
Descriptionsometimes 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).
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2016-07-30 15:03

administrator   ~4186

For anything involving editing please make sure you say whether it was with WYSIWYG or not, as the processing can vary considerably between. I suspect this is a CKEditor issue.

Chris Graham

2016-07-30 15:23

administrator   ~4188

I've fixed the link detection issue.

Otherwise, it's browser/CKEditor/paste behaviour, see:
http://stackoverflow.com/questions/9741620/ckeditor-unwanted-nbsp-characters

Issue History

Date Modified Username Field Change
2016-07-30 06:36 PDStig New Issue
2016-07-30 15:03 Chris Graham Note Added: 0004186
2016-07-30 15:23 Chris Graham Note Added: 0004188
2016-07-30 15:23 Chris Graham Status Not Assigned => Resolved
2016-07-30 15:23 Chris Graham Resolution open => fixed
2016-07-30 15:23 Chris Graham Assigned To => Chris Graham