Hi, I didn't find how to put a non-breaking space (by the way why not " " ?) in the title, at least I know how to insert a (breaking) space before the '?' : ${doc.title.replaceAll("(.*[^ ])[?]$", "$1 ?")} BR, Jeremie 2014-09-26 16:08 GMT+02:00 Pascal BASTIEN <[email protected]>:
Yes it doesn't work because my html code is not intepreted. JS seem too heavy for a tiny space. (but big boss) :-)
Thank you.
________________________________ De : Leonardo Kodato <[email protected]> À : Pascal BASTIEN <[email protected]>; XWiki Users <[email protected]
Envoyé le : Vendredi 26 septembre 2014 16h03 Objet : Re: [xwiki-users] About question mark and FAQ
Hi Pascal.
Have you tried to edit the FAQCode.FAQSheet title and insert a non-breaking space right before "?"?
I don't think it would be possible using CSS, but maybe using Javascript(I'm not a javascript expert).
Regards,
Leonardo.
2014-09-26 9:11 GMT-03:00 Pascal BASTIEN <[email protected]>:
Hello,
(My french boss) noticed than a space character missing between question
mark and text in FAQ application...
Rather to modify the code, do you think there is a way to fix it with
CSS?
Note: I wanted fix it on Xwiki then I looking for typographical rules
about that but I didn't found an authoritative source... :-/
http://english.stackexchange.com/questions/14003/any-authoritative-source-on...
http://www.sdbcompany.com/index.php?option=com_content&view=article&id=59&It... => "Question mark (?): General rule: non-breaking space before the question mark and space after."
http://en.wikipedia.org/wiki/Question_mark#Stylistic_variants => "French
usage must include a non-breaking space before the question mark (for example, "Que voulez-vous boire ?"), whereas in the English language orthography no space is allowed in front of the question mark (e.g. "What do you drink?")"
Pascal B. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users