fix bug: quotes in html tags

This commit is contained in:
chris 2011-03-04 09:31:21 +08:00 committed by ihower
parent 25752b7065
commit fa81b04eee
1 changed files with 1 additions and 1 deletions

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