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

inline option of RenderString does not work for AsciiDoc #12369

Closed
Yosh31207 opened this issue Apr 14, 2024 · 1 comment · Fixed by #12370
Closed

inline option of RenderString does not work for AsciiDoc #12369

Yosh31207 opened this issue Apr 14, 2024 · 1 comment · Fixed by #12370

Comments

@Yosh31207
Copy link

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.124.1-db083b05f16c945fec04f745f0ca8640560cf1ec windows/amd64 BuildDate=2024-03-20T11:40:10Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?

Yes.

Issue

RenderString with display = 'inline' option does not work fine for AsciiDoc.

This may because Asciidoctor generates text surrounded by <div class="paragraph"><p> ... </p></div>, and display = 'inline' removes only <p> tags.

See the releating issue I encountered: McShelby/hugo-theme-relearn#829

Copy link

github-actions bot commented May 6, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants