[consulting] Input Filter Module for mdash: Does it Exist?

Matt Chapman Matt at NinjitsuWeb.com
Wed Sep 30 18:01:39 UTC 2009


Filter modules are very easy to write:

http://api.drupal.org/api/drupal/developer--examples--filter_example.module/6

If you're looking for someone to do it for you, I'd do it for USD$100.

Best,

Matt


Shai Gluskin wrote:
> Hey folks,
>
> On one of my sites there is an editor who loves putting in 
> parenthetical phrases in his sentences using what should be an mdash. 
> But instead he uses a single, double or even a triple hyphen, 
> sometimes surrounded by spaces, sometimes not. I want to train him to 
> use a double hyphen that I want to replace with an mdash (—) via 
> an input filter.
>
> Does something like that exist?
>
> FYI to clean up old content I'm going to use the scanner module 
> <http://drupal.org/project/scanner> which looks great. If I find or 
> write an input filter for the mdash, it's likely that when I clean up 
> the old content, I'll just make the double hyphen presentation 
> consistent and not actually put the character entity code in the database.
>
> Shai
> Content2zero <http://content2zero.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> consulting mailing list
> consulting at drupal.org
> http://lists.drupal.org/mailman/listinfo/consulting
>   


More information about the consulting mailing list