check for dangling footnotes too
parent
231063aecc
commit
ee3e676f21
|
@ -3,7 +3,7 @@ class MarkdownLinkCheck < Nanoc::Filter
|
|||
|
||||
def run(content, params={})
|
||||
content.each_line do |line|
|
||||
if line =~ /\[.+?\]\[.*?\]/
|
||||
if line =~ /\[^?.+?\]\[.*?\]/
|
||||
puts "#{@item.identifier} -> #{line}"
|
||||
raise "Unresolved link!"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue