> If we want   to convert to a literal non-breaking space, we would
> just need to get a markup rule for that. So when you edited it, you
> can retain the   in your edit box.


Just a comment on that: this is a twisted way to think about it. ' ' is
translated by the browser automatically to a non-breaking space. We don't
need markup for this. We can let it be as it is. But if the text gets
displayed in an edit box, we don't want the browser to translate it, so we
need to run 
htmlspecialchars()<http://us3.php.net/manual/en/function.htmlspecialchars.php>on
the text for text fields and boxes (usually with
*ENT_NOQUOTES* set), and convert back with
htmlspecialchars_decode()<http://us3.php.net/manual/en/function.htmlspecialchars-decode.php>when
the text gets saved.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to