summaryrefslogtreecommitdiff
path: root/app/helpers/content_helper.rb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-09-03 22:26:21 +0200
committerhukl <contact@smyck.org>2009-09-03 22:26:21 +0200
commiteb99d628c30482d66ec221da38b9877d1fe3d574 (patch)
tree388082808d2de5f90a4f6caf25ea42e2ca1a9b41 /app/helpers/content_helper.rb
parent16e5ca741cf4935c1ebed64828b1f2f2472b06ee (diff)
took almost an hour to find the reason for the invalid html! anyway - fixed now!
Diffstat (limited to 'app/helpers/content_helper.rb')
-rw-r--r--app/helpers/content_helper.rb2
1 files changed, 1 insertions, 1 deletions
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
63 options = {} 63 options = {}
64 64
65 begin 65 begin
66 if content =~ /<aggregate([^<>]*)>/ 66 if content =~ /<p><aggregate([^<>]*)><\/p>/
67 tag = $~.to_s 67 tag = $~.to_s
68 matched_data = $1.scan(/\w+\=\"[a-zA-Z\s\/_\d,]*\"/) 68 matched_data = $1.scan(/\w+\=\"[a-zA-Z\s\/_\d,]*\"/)
69 69