-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Parsing error when using asciidoctor #8545
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
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
This is a valid issue & shouldn't be closed |
There is a new sectioon on https://docs.gitea.io/en-us/external-renderers/ about |
AFAICT, the purpose of that is to avoid certain attributes from getting stripped by Gitea. To solve this issue, there should be a way to do the exact opposite: tell Gitea to strip certain attributes. I tried with the section below, but it doesn't help:
|
Uh oh!
There was an error while loading. Please reload this page.
[x]
):Description
When using asciidoctor as external renderer for AsciiDoc files, a superfluous string appears in the output at the beginning of the file:
lang="en">
This seems to be part of asciidoctor's html output, for some reason gitea doesn't filter it out.
The rest of the AsciiDoc file is displayed correctly in gitea's web interface.
I'm using the default asciidoctor config described here:
https://docs.gitea.io/en-us/external-renderers/
Screenshots
https://i.imgur.com/PBewpAz.png
The text was updated successfully, but these errors were encountered: