Permalink
Browse files

quick and dirty cleanup of some textile formatting

  • Loading branch information...
lukas-vlcek committed Apr 18, 2011
1 parent 552e2e7 commit 8c04ef5838bf5ad7ac9e0388afe8a2a75ddb97cc
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/hide/page.rb
View
@@ -14,7 +14,7 @@ def category
end
def content
- @page.content
+ @page.content.gsub(/[^"]<[^>]+>[^"]/, '').gsub(/p\.\s/, '').gsub(/h\d\.\s/, '')
end
def url

0 comments on commit 8c04ef5

Please sign in to comment.