bin/w2a in reverse_adoc-0.2.4 vs bin/w2a in reverse_adoc-0.2.5
- old
+ new
@@ -64,9 +64,10 @@
ReverseAsciidoctor.config.sourcedir = Dir.mktmpdir
# puts "ReverseAsciidoctor.config.sourcedir #{ReverseAsciidoctor.config.sourcedir}"
doc = WordToMarkdown.new(filename, ReverseAsciidoctor.config.sourcedir)
+#File.open("test.html", "w:UTF-8") { |f| f.write doc.document.html }
adoc_content = ReverseAsciidoctor.convert(
scrub_whitespace(doc.document.html),
WordToMarkdown::REVERSE_MARKDOWN_OPTIONS
)
# puts scrub_whitespace(doc.document.html)