Joomla! Plugin for insecable spaces in content

Here is a little plugin for Jooma 1.5.x which allows to replace automatically secable spaces by insecable spaces in an article.

This plugin is especially for those that are obsessed by typography rules. According to these rules, many characters must not be broke by a line.

Here are the replaces characters :

  1. word :
  2. « word »
  3. word ?
  4. word !
  5. cash $
  6. pourcentage %
  7. slash / word

The plugin inserts the HTML entity   instead of secable spaces, for all characters above. When you write your article, you must write a normal space, else the plugin wouldn’t recognize that you wish to insert insecable spaces.

This plugin was wrote for french rules; I have no idea for english ones… Note that in Quebec, you must not insert any space before question and exclamation marks; I included them because because people from France would need it.

You may see this plugin in action in this blog. It’s not a big thing, but it’s quite useful to me.

Ce message est également disponible en : French

10 thoughts on “Joomla! Plugin for insecable spaces in content

  1. This plugin will be perfect if it was running also when an artcile is just displayed with the “Read More” link.. any update schedule ? (and handling of ” ;” BTW)
    Thank you very much to make Joomla! really internationalized. ;)

    • Hi Eric, thanks for your comment. Yes, updates are planned, I wish to include more rules and extend it to specific french, french-canadian, english-canadian and US English rules. If you wish to suggest things and help me out with this (rules, etc.) don’t hesitate to contact me.

  2. Guy, was wondering if you could put a little more context around where and how to use this. What does it mean to “replace automatically secable spaces by insecable spaces”? Maybe some visuals could help? Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>