I have an editor that adds & nbsp; in the text and this gives me trouble justifying it, I tried removing the & nbsp; and everything works but now it does not allow me to leave more than 1 space, I found the <pre>
tag and white-space in css, but this style is not supported in mpdf and using <pre>
I would have to manually add this tag because the editor does not use it, is there any way to justify keeping the & nbsp; or should I limit myself to just 1 space between words? Thank you
source https://stackoverflow.com/questions/68154326/can-i-justify-a-text-that-contains-nbsp
Comments
Post a Comment