Spaces are not being saved in the editor..

swatkins

Member
My users are complaining that what they type in the editor is not what is being shown on the page..

For example:

Steve test dog go how to

Is a line of text with 5 spaces between each word.... When it is posted 4 of the five spaces are deleted..... like this....

Steve test dog go how to

Is there any way to make the text spaces remain where they were typed?
 
F

Floris

Guest
That's HTML .. It's meant to be formatted, not rendered. Otherwise if you have something like 5 tabs in front of "<b>Hello</b>" to indent it for overview. The render would have 5 spaces in front of it. And then all HTML has to be on the first character position of each line in the code.

It won't do 5 spaces, they will show as 1. Has nothing to do with XenForo.
In order to use multiple spaces you'd need non-breaking space.
 
Top