asciidoctor / asciidoctor-confluence

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

Generate XHTML output #7

Closed mojavelinux closed 2 years ago

mojavelinux commented 9 years ago

As a user I want to generate XHTML output So Confluence will accept it as valid markup.

This involves setting the Asciidoctor options in Asciidoctor::Confluence::Publisher as follows:

@asciidoctor_options[:backend] = 'xhtml'
ghost commented 8 years ago

An error occurred, the page has not been updated because: Error parsing xhtml: Unexpected close tag ; expected . at [row,col {unknown-source}]: [73,10]

eliezio commented 7 years ago

I solved a similar problem by appending "-- -b xhtml5" to the command line. This forced asciidoctor to generate XHTML compliant output.

r-vanooyen commented 2 years ago

pullrequest #26 would fix that too. Is there a possibility to merge that PR and create a new version 0.0.3?

mojavelinux commented 2 years ago

I went ahead and merged it. However, I don't have rights to publish the gem. The best thing to do would be to set up automated publishing of the gem via GitHub Actions so it can be released easily on demand.

mojavelinux commented 2 years ago

FYI, I'd say this project is looking for a new maintainer who can keep it current and published. Let's chat in the project chat at https://asciidoctor.zulipchat.com.