summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/helpers/content_helper.rb2
-rw-r--r--app/views/custom/page_templates/public/no_date_and_author.html.erb2
-rw-r--r--app/views/custom/page_templates/public/standard_template.html.erb2
3 files changed, 3 insertions, 3 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
diff --git a/app/views/custom/page_templates/public/no_date_and_author.html.erb b/app/views/custom/page_templates/public/no_date_and_author.html.erb
index 32eb64a..27cc1c0 100644
--- a/app/views/custom/page_templates/public/no_date_and_author.html.erb
+++ b/app/views/custom/page_templates/public/no_date_and_author.html.erb
@@ -6,4 +6,4 @@
6 <%= aggregate?(@page.body) %> 6 <%= aggregate?(@page.body) %>
7</div> 7</div>
8 8
9<p><%= will_paginate(@content_collection) if @content_collection %></p> \ No newline at end of file 9<%= will_paginate(@content_collection) if @content_collection %> \ No newline at end of file
diff --git a/app/views/custom/page_templates/public/standard_template.html.erb b/app/views/custom/page_templates/public/standard_template.html.erb
index d321472..7893fdd 100644
--- a/app/views/custom/page_templates/public/standard_template.html.erb
+++ b/app/views/custom/page_templates/public/standard_template.html.erb
@@ -7,4 +7,4 @@
7 <%= aggregate?(@page.body) %> 7 <%= aggregate?(@page.body) %>
8</div> 8</div>
9 9
10<p><%= will_paginate(@content_collection) if @content_collection %></p> \ No newline at end of file 10<%= will_paginate(@content_collection) if @content_collection %> \ No newline at end of file