fix bug: quotes in html tags
This commit is contained in:
parent
25752b7065
commit
fa81b04eee
|
@ -67,7 +67,7 @@ module Parser
|
||||||
if asset
|
if asset
|
||||||
res = "<img src=#{asset.data.file.url} "
|
res = "<img src=#{asset.data.file.url} "
|
||||||
tag.attr.each do |l|
|
tag.attr.each do |l|
|
||||||
res << "#{l[0]}=#{l[1]} "
|
res << "#{l[0]}='#{l[1]}' "
|
||||||
end
|
end
|
||||||
res << '>'
|
res << '>'
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue