fix bug: quotes in html tags

This commit is contained in:
chris authored and ihower committed 2011-04-13 18:22:52 +08:00
1 parent 25752b7065
commit fa81b04eee
1 file changed
+1 -1
+1 -1
View File
@@ -67,7 +67,7 @@ module Parser
if asset
res = "<img src=#{asset.data.file.url} "
tag.attr.each do |l|
res << "#{l[0]}=#{l[1]} "
res << "#{l[0]}='#{l[1]}' "
end
res << '>'
end