From eb99d628c30482d66ec221da38b9877d1fe3d574 Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 3 Sep 2009 22:26:21 +0200 Subject: took almost an hour to find the reason for the invalid html! anyway - fixed now! --- app/helpers/content_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers') diff --git a/app/helpers/content_helper.rb b/app/helpers/content_helper.rb index 8b16462..11cfbc7 100644 --- a/app/helpers/content_helper.rb +++ b/app/helpers/content_helper.rb @@ -63,7 +63,7 @@ module ContentHelper options = {} begin - if content =~ /]*)>/ + if content =~ /

]*)><\/p>/ tag = $~.to_s matched_data = $1.scan(/\w+\=\"[a-zA-Z\s\/_\d,]*\"/) -- cgit v1.3