Better admin UI for SmartyPants settings.
jiangxijay - October 3, 2007 - 02:11
| Project: | Typogrify |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | mikl |
| Status: | active |
Jump to:
Description
I am using Filtered HTML as my default input format, and I've enabled all four Typogrify refinements.
I also added to the allowed tags.
None of the refinements are appearing.
Is there something else I need to do?

#1
Follow-up. The only refinements that aren't appearing are those generated by SmartyPants; the others (in tags) are fine.
Are there known conflicts with themes or other modules?
#2
SmartyPants/Typogrify convert quotes into curly quotes, but not " into curly quotes.
Can that be changed:? In other words, can SmartyPants (php-typogrify.php or smartypnts.php) be trained to look for the entity?
#3
Clarification:
"isn't being translated into curly quotes.#4
According to the original developer, support for converting
"entities is in SmartyPants.http://daringfireball.net/projects/smartypants/
Is this not implemented in Typogrify?
#5
In smartypants.php, a configuration line needs to be edited to include the translation of
"into curly quotes:From this ...
$smartypants_attr = "1"; # Change this to configure.... to this ...
$smartypants_attr = "qDew"; # Change this to configure.However, php-typogrify.php appears to ignore this attribute.
#6
Look for line 82 in smartypants.php, which should look like
$convert_quot = 0; # should we translate " entities into normal quotes?change it to
$convert_quot = q; # should we translate " entities into normal quotes?that took care of it for me.
#7
To further clarify, you don't need to touch the
$smartypants_attr = "1"; # Change this to configure.line.#8
Bingo. Thank you!
#9
#10
I'll add some admin UI for this option. Thanks for tracking it down!
#11
#12