repo.or.cz
/
merb_radiant.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Renamed helpers to correspond to renamed Controller classes.
[merb_radiant.git]
/
radiant_extensions_plugins
/
extensions
/
markdown_filter
/
lib
/
.svn
/
text-base
/
smarty_pants_filter.rb.svn-base
blob
90a651ee77758c1b5578c48951d7f06ec8d1eab5
1
require 'rubypants/rubypants'
2
3
class SmartyPantsFilter < TextFilter
4
filter_name "SmartyPants"
5
description_file File.dirname(__FILE__) + "/../smartypants.html"
6
def filter(text)
7
RubyPants.new(text).to_html
8
end
9
end