Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems creating confluence page: Error parsing xhtml #1

Open
paulwellnerbou opened this issue Jul 14, 2015 · 11 comments
Open

Problems creating confluence page: Error parsing xhtml #1

paulwellnerbou opened this issue Jul 14, 2015 · 11 comments

Comments

@paulwellnerbou
Copy link

I get this error message:

An error occurred, the page has not been created because:
Error parsing xhtml

The confluence (5.7.5) is behind an HTTPS URL. Should it work with HTTPS? Is this error message coming from confluence or from parsing the asciidoc result?

Is there a way to make this a bit more verbose?

@jaredmorgs
Copy link

Yep, I'm getting this issue as well. And my confluence host is behind HTTPS as well.

@kevinquillen
Copy link

Same here. No further error is given.

@rdmueller
Copy link

for me, this error message sound like it is coming from confluence.
You could check if you get the same error message with this groovy script: https://github.com/rdmueller/asciidoc2confluence

@kevinquillen
Copy link

For me, I had to convert ampersands to & in URLs like links or img src values. Once I did that, I stopped getting this error (from Confluence).

@arjunshukla
Copy link

Use body.storage.value if you are fetching from confluence to post to another confluence.
Or refer this document: https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html

@gbougeard
Copy link

I have the same issue. It looks like it does not understand some syntaxes like :

`service` ::
 _(mandatory)_ ::
 name of the service

@mojavelinux
Copy link

If this problem still exists, it should be filed in the upstream repository.

See https://github.com/asciidoctor/asciidoctor-confluence

@gbougeard
Copy link

@mojavelinux so do you think this is a duplicate of asciidoctor/asciidoctor-confluence#7 or shall we fill a new one?

@mojavelinux
Copy link

Yes, that appears to be the correct upstream issue. If a change was made, it would need to go into that repository, which is why I mention it.

@ghost
Copy link

ghost commented Jul 1, 2020

If solution from asciidoctor/asciidoctor-confluence#7 does not work, try with -- -b xhtml5 -S safe -s.

@rdmueller
Copy link

@maniedzi If you need to publish asciidoc to confluence, you might want to try the publishToConfluence feature of docToolchain. It is under active development. (I am one of the main committers)

another project capable of doing this is https://github.com/confluence-publisher/confluence-publisher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants