From 87e4a52728b40d7343713ca4a7f222193883f0f5 Mon Sep 17 00:00:00 2001 From: Douglas Campos Date: Mon, 11 Mar 2013 15:48:34 -0300 Subject: [PATCH] fix broken images --- _plugins/asciidoc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_plugins/asciidoc.rb b/_plugins/asciidoc.rb index f2b3039a..15ab6758 100644 --- a/_plugins/asciidoc.rb +++ b/_plugins/asciidoc.rb @@ -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