Active
Project:
Typogrify
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2008 at 13:49 UTC
Updated:
28 Sep 2011 at 20:29 UTC
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
Comment #1
mustafau commentedFrom "CVS Usage Policy" at "http://drupal.org/node/103704":
"All code must be licensed under GNU/GPL."
Comment #2
lolmaus commentedAccording 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. :(
Comment #3
bwo commentedsubscribing!