check for dangling footnotes too

master
muflax 2012-06-25 13:25:57 +02:00
parent 231063aecc
commit ee3e676f21
1 changed files with 1 additions and 1 deletions

View File

@ -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