In case you don't know it:

http://michelf.com/projects/php-smartypants/typographer/

If this gets included in this module, then we won't have the need for any additional module. I could possibly write a patch, if it is allowed to be included. I wonder if will be possible to make the filter language aware and set "Openning and closing smart double-quotes." (see typographer website) properly.

On a sidenote: The Marksmarty module is in the process to go markdown only, see #221812: Split marksmarty filter into Markdown and Smartypants filter.

Comments

mustafau’s picture

Status: Active » Closed (won't fix)

From "CVS Usage Policy" at "http://drupal.org/node/103704":

"All code must be licensed under GNU/GPL."

lolmaus’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Closed (won't fix) » Active

According to Tipogrify's maintainer, it is absolutely okay to include vanilla PHP SmartyPants.

PHP SmartyPants Typographer is released under the same license as PHP SmartyPants.

Reason for the request:

1) PHP SmartyPants Typographer lets you use characters instead of entities.
2) PHP SmartyPants Typographer lets you configure which characters to use for replacement. For example, Russian language makes use of quotes «like this» and nested quotes „like this“. Replacing "" with “” in Russian is trading bad for worse. :(

bwo’s picture

subscribing!