Skip to content

Conversation

@stashaway
Copy link

Fixes an issue where all spaces in text blot were being converted to non breaking spaces, which is not WYSIWYG.

@trymeouteh
Copy link

Would like to see this patch get approved

@yukulele
Copy link

Multiple spaces shouldn't keep being converted to  ?

example:

# input:
one space. five     spaces.

# output:
<p>one space. five&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;spaces.</p>

@stashaway
Copy link
Author

@yukulele No. Or at least it should be an option. Why does haven't multiple spaces mean you don't want your sentence to wrap? And changing a space to an nbsp messes with anybody placing this stuff into a database. It's supposed to be What You See Is What You Get.. not What You Get Is What We Like.

@stashaway
Copy link
Author

There is another PR with a more nuanced approach to this. That one can be approved and this one abandoned. But the behavior should definitely be addressed and fixed.

@neoncube2
Copy link

@stashaway I think the other PR that you mentioned is this one: #4598

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants