Hi
It happens we may have to intersperse within the text a lot of no-break spaces or narrow-no-break spaces (if they did not do it before with the text processor). In French, we have to do it according to specific typographic "rules" (before some punctuation signs, among them
It's tricky to do it because many tags, including in the head, contain such signs and if you add some no-break space there, you trigger parsing mistakes.
So, the question is: how can I insert these signs only within the text and avoid spoiling any tag?
For example:
- Nothing here:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr-FR" xml:lang="fr-FR">
- Only for the red print here:
Code:
<p class="standard">« Cette lettre en est la preuve ! C’est à cause de cette Sylvia Sheilds. Elle lui a tourné la tête. Il est tout bizarre depuis qu’elle a quitté l’île. » Mon père avait donc lu la lettre ! Mon estomac se contracta.</p>