lib/ascii_binder/engine.rb in ascii_binder-0.2.0 vs lib/ascii_binder/engine.rb in ascii_binder-0.2.1
- old
+ new
@@ -457,10 +457,11 @@
"imagesdir=#{File.join(topic.parent.source_path,'images')}",
branch_config.distro.id,
"product-title=#{branch_config.distro_name}",
"product-version=#{branch_config.name}",
"product-author=#{branch_config.distro_author}",
- "repo_path=#{topic.repo_path}"
+ "repo_path=#{topic.repo_path}",
+ "allow-uri-read="
])
doc = without_warnings { Asciidoctor.load topic_adoc, :header_footer => false, :safe => :unsafe, :attributes => page_attrs }
article_title = doc.doctitle || topic.name