module Filters module PostFilter INTRO_HTML = '
' CLOSE_DIV = '
' def format_intro!(html) html.gsub!(/

#{@front_wrap}#intro#{@end_wrap}<\/p>/, INTRO_HTML) html.gsub!(/

#{@front_wrap}\/intro#{@end_wrap}<\/p>/, CLOSE_DIV) end end end