diff options
| author | hukl <contact@smyck.org> | 2009-09-04 22:36:43 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-04 22:36:43 +0200 |
| commit | 5330e223cff7ec0c1110149da8924c95be38c5c2 (patch) | |
| tree | f318eede519c362e2cc10d51e93422619157fc18 /app/helpers | |
| parent | 96a928cdfd6854a168d6328bcf29096403e556db (diff) | |
fixed the aggregate tag parsing
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/content_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/content_helper.rb b/app/helpers/content_helper.rb index 11cfbc7..8b16462 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 =~ /<p><aggregate([^<>]*)><\/p>/ | 66 | if content =~ /<aggregate([^<>]*)>/ |
| 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 | ||
