# Smart Quotes

**URL:** <https://www.ruby-forum.com/t/smart-quotes/87815>\
**Category:** Radiant CMS\
**Created:** [March 6, 2007, 5:25am UTC](https://www.ruby-forum.com/t/smart-quotes/87815 "2007-03-06T05:25:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dasch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@dasch](https://www.ruby-forum.com/u/dasch)\
**Post date:** [March 6, 2007, 5:25am UTC](https://www.ruby-forum.com/t/smart-quotes/87815/1 "2007-03-06T05:25:40Z")

</div>

Just a little hint for those with the same problem:

Most of the other authors on [http://www.thegroggysquirrel.com/](http://www.thegroggysquirrel.com/) write up  
their articles in Microsoft Word before bringing them to the  
site (so that they can spell/grammar check in a comfortable  
environment). Problem is that when it comes to copy and paste the  
article to the site, Word has already put in smart quotes, apostrophes,  
ellipses, etc - very problematic when they’ve been putting  
in textile - style links into the word documents.

To get around this, I’ve got my own Filter (GroggyFilter), which filters  
out those smart things and lets textile re-smart-ify things  
properly.

[http://soxbox.no-ip.org/radiant/svn/extensions/x\_groggy/lib/groggy\_filter.rb](http://soxbox.no-ip.org/radiant/svn/extensions/x_groggy/lib/groggy_filter.rb)

The filter also lets you include attachments in a textile way  
(!my\_image! rather than \<r:image name=“my\_image”/\>)

(If you use it, you’ll want to change it to use vanilla RedCloth instead  
of GrogCloth - that’s a very specific textile extension for  
my site)

Dan.
