Skip to content

Commit

Permalink
fix broken images
Browse files Browse the repository at this point in the history
  • Loading branch information
qmx committed Mar 11, 2013
1 parent a72ebd7 commit 87e4a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _plugins/asciidoc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def output_ext(ext)
end

def convert(content)
Asciidoctor::Document.new(content).render
Asciidoctor.load(content, {:attributes => {'imagesdir' => '../'}}).render
end
end
end

0 comments on commit 87e4a52

Please sign in to comment.