Smart Quote Devilry

It's been fun to watch Mark Pilgrim enjoying the time saving benefits of the plugins I've written lately. It's even popped up on the Daypop 40 (in spite of the title including the phrase "regular expressions" no less)! Daring Fireball was inspired to take the smart-quote thing a step further. Fully documented in their post Movable Type Smart Quote Devilry. Educate your quotes.

TrackBack

TrackBack URL for this entry:
http://bradchoate.com/mt/feedback/tb/350

2 Comments

Scott said:

I encountered a problem while using Daring Fireball’s educate_quote PerlScript: if I had any text smilies created with a right paren: “)”, the eval on line 76 ($sub = eval $code;) of perlscript.pm would return a syntax error. After I hacked up line 78 to print the contents of $code, I determined that eval was confused by the right paren. It did not have a problem if there was a balancing left paren preceding the right paren.

Eduardo said:

Scott, Daring Fireball recently uploaded a new version of Educate Quotes that corrects the problem you mention. Check it out:
http://daringfireball.net/2002/10/movable_type_smart_quotes_now_with_retsin.html

About

This article was published on August 16, 2002 4:12 PM.

The article previously posted was Downloads Save The Music Business.

The next article is Posting via IM.

Many more can be found on the home page or by looking through the archives.

Powered by Movable Type