Hi. I do not understand why it has to be a non-breaking space. It will sound like something obvious, but, have you tried to insert just a space " " before "?" ? e.g. "${doc.title} ?" instead of "${doc.title}?" in FAQCode.FAQSheet title. Regards. Leonardo. 2014-09-26 12:57 GMT-03:00 Leonardo Kodato <leonardokodato@gmail.com>:
Hi. I do not understand why it has to be a non-breaking space.
It will sound like something obvious, but, have you tried to insert just a space " " before "?" ? e.g. "${doc.title} ?" instead of "${doc.title}?" in FAQCode.FAQSheet title.
Regards. Leonardo.
2014-09-26 11:30 GMT-03:00 Jeremie BOUSQUET <jeremie.bousquet@gmail.com>:
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 <pbasnews-xwiki@yahoo.fr>:
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 <leonardokodato@gmail.com> À : Pascal BASTIEN <pbasnews-xwiki@yahoo.fr>; XWiki Users < users@xwiki.org> 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 <pbasnews-xwiki@yahoo.fr>:
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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users