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

Fatal crash with all configurations of "paired shortcodes" #7329

Closed
Aescetic opened this issue May 28, 2020 · 2 comments
Closed

Fatal crash with all configurations of "paired shortcodes" #7329

Aescetic opened this issue May 28, 2020 · 2 comments
Labels

Comments

@Aescetic
Copy link

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

$ hugo version
Hugo Static Site Generator v0.71.1/extended darwin/amd64 BuildDate: unknown

Does this issue reproduce with the latest release?

This is the latest release.

Explanation

"Paired shortcodes" as described here, namely:

{{% mdshortcode %}}Stuff to `process` in the *center*.{{% /mdshortcode %}}

&

{{< highlight go >}} A bunch of code here {{< /highlight >}}

...Produce a fatal crash identical to the crash described in issue #7322. This issue may also be related to issue #7106.

I've examined the code surrounding shortcodes, and it is clearly very fragile, but the immediate problem can be solved with minor changes.

@bep
Copy link
Member

bep commented May 28, 2020

There are thousands of "paired shortcodes" in Hugo sites that I somehow manage, and I have yet to experience a crash, so your general statement above isn't true.

Lets take this in #7322.

@github-actions
Copy link

github-actions bot commented Feb 2, 2022

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 Feb 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants