fix bug: quotes in html tags
This commit is contained in:
parent
25752b7065
commit
fa81b04eee
|
@ -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
|
||||
|
|
Reference in New Issue