lib/isodoc/function/inline.rb in isodoc-1.8.1 vs lib/isodoc/function/inline.rb in isodoc-1.8.2
- old
+ new
@@ -3,10 +3,10 @@
module IsoDoc
module Function
module Inline
def link_parse(node, out)
url = node["target"]
- node["updatetype"] == "true" and url = suffix_url(url)
+ node["update-type"] == "true" and url = suffix_url(url)
out.a **attr_code(href: url, title: node["alt"]) do |l|
if node.text.empty?
l << node["target"].sub(/^mailto:/, "")
else node.children.each { |n| parse(n, l) }
end