From 77a8931fd8eeffcb986c68eef584b331715b281f Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 3 Oct 2007 05:43:33 +0000 Subject: [PATCH] removing all tags from redcloth pages git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@7 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7 --- app/models/page.rb | 2 +- config/environment.rb | 3 +- lib/actionview_text_helper.rb | 77 +++++++++++++++++++++++++++++++++++ test/unit/page_test.rb | 6 +++ 4 files changed, 86 insertions(+), 2 deletions(-) create mode 100644 lib/actionview_text_helper.rb diff --git a/app/models/page.rb b/app/models/page.rb index e1088fc..6257120 100644 --- a/app/models/page.rb +++ b/app/models/page.rb @@ -27,7 +27,7 @@ class Page < ActiveRecord::Base # def update_html # need to filter HTML first... remove