-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Shortcode fails when it starts right after front matter and there is a manual summary delimiter #5464
Comments
As I doubt the statement in the title is true in general, I think you need to provide a failing test case (there are plenty of passing test cases for this particular issue in Hugo's code base). |
we can test a simple post like below, using the example shortcode
Expected render result would be two gist sections, but we get the following, where clearly the one before the summary tag is not interpreted. You can test with other built-in shortcode on the doc page, and get similar results. One other thing worth noting is, if we test the Hope this information helps, regards. |
Yes, this is a bug, but you can work around it by inserting "something" (blank space, whatever) before your first shortcode. |
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. |
hugo version: 0.52
description: when using some shortcode before the
<!--more-->
tag, the shortcode is not recognized when render the full page.I understand that when generating the summary, the shortcode may get ignored for a more simplistic and well organized "text-only" summary, but it should be recognized and interpreted when render the full page.
This behavior may be related to issue #1503
The text was updated successfully, but these errors were encountered: