The German (and probably other languages’) typographical rules demand that a half-space is used in abbreviations. E. g., the space between the period after “E” should be a half-space. In HTML, this could be rendered as unicode THIN SPACE (#8201). As this is a not non-breaking character, the whole abbreviation should optionally be wrapped with white-space:nowrap
I am building a input filter for a customer right now that adds the above refinements to his drupal site. Is someone working on implementing this within the Typogrify project? If not, I can offer a patch as soon as I’m done here.
Comments
Comment #1
holydrupal commentedHalf-space is used by Persian and Arabic users.
This is an old topic, I am not sure whether you have implement half-space in this module or not?
I don't see this feature in Typogrify feature list. Does anyone aware of this issue?
Sample Code
Comment #2
miklI haven't heard of anyone working on this, so a patch would be most welcome – although it should be an optional feature.
Comment #3
holydrupal commentedThe module for Wordpress is available:
http://www.wordpress-plugin.org/plugin/replacing-half-space-plugin-2/
Hope to see it in Drupal soon.
Comment #4
migmedia commentedCan someone provide a rule for abbreviation-recognizing?
Imho searching for /(\s+\.)+/ is sufficient. (Examples: http://de.wiktionary.org/wiki/Kategorie:Abk%C3%BCrzung_(Deutsch) )
I like the idea and am willing to add it to this input-filter for the 7.x-branch.
Micha
Comment #5
migmedia commentedImplemented in 7.x-1.x will be included in 7.x-1.0-rc3
Micha