metamagic 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/metamagic/helper_methods.rb +2 -2
  2. metadata +4 -4
@@ -21,9 +21,9 @@ module Metamagic
21
21
  if option.is_a?(Hash)
22
22
  option.each_pair do |key, value|
23
23
  if value.is_a?(Array)
24
- add_tag_if_not_existing :name => key, :content => CGI::escapeHTML(value.join(", "))
24
+ add_tag_if_not_existing :name => key, :content => value.join(", ")
25
25
  else
26
- add_tag_if_not_existing :name => key, :content => CGI::escapeHTML(value || "")
26
+ add_tag_if_not_existing :name => key, :content => value
27
27
  end
28
28
  end
29
29
  elsif option.is_a?(Array)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metamagic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 3
10
- version: 2.0.3
9
+ - 4
10
+ version: 2.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lasse Bunk
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-04 00:00:00 Z
18
+ date: 2012-07-07 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Metamagic is a simple Ruby on Rails plugin for creating meta tags.