asciidoctor / asciidoctor-confluence

Push Asciidoctor file to Confluence
https://rubygems.org/gems/asciidoctor-confluence
MIT License
82 stars 28 forks source link

Compatibility with Confluence Cloud (Oct. 2018) #20

Open znerd opened 5 years ago

znerd commented 5 years ago

Please make the tool compatible with Confluence Cloud (Oct. 2018). According to HelpAbout Confluence the version is:

Confluence 1000.0.0-858e0d87fbd

Here is an apparent incompatiblity I ran into:

An error occurred, the page has not been created because:
Error parsing xhtml: Unexpected close tag </colgroup>; expected </col>.
at [row,col {unknown-source}]: [44,10]
rwalkerands commented 5 years ago

See https://github.com/asciidoctor/asciidoctor/issues/1472 for the fix: add:

@asciidoctor_options[:backend] = 'xhtml'

to the asciidoctor settings in confluence.rb.

sebastiankutschbach commented 4 years ago

Can confirm that it solves the problem. Filed a pull request for that. PR#26