I need to build a string like this:
str = "1. some other text";
This string will become the content of a new textnode (of a <p> element), but when I try the above, I get the literal characters rather than a non-breaking space.
What's the right way to do this?
Thanks,
James
str = "1. some other text";
This string will become the content of a new textnode (of a <p> element), but when I try the above, I get the literal characters rather than a non-breaking space.
What's the right way to do this?
Thanks,
James