lib/ascii_binder/engine.rb in ascii_binder-0.2.2 vs lib/ascii_binder/engine.rb in ascii_binder-0.2.3
- old
+ new
@@ -465,10 +465,10 @@
File.open topic.source_path, 'r' do |topic_file|
doc = without_warnings { Asciidoctor.load topic_file, :header_footer => false, :safe => :unsafe, :attributes => page_attrs, :base_dir => "." }
article_title = doc.doctitle || topic.name
-
+
topic_html = doc.render
# This is logic bridges newer arbitrary-depth-tolerant code to
# older depth-limited code. Truly removing depth limitations will
# require changes to page templates in user docs repos.