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

Misc fixes and improvements #12996

Merged
merged 2 commits into from
Nov 3, 2024
Merged

Misc fixes and improvements #12996

merged 2 commits into from
Nov 3, 2024

Conversation

bep
Copy link
Member

@bep bep commented Oct 30, 2024

Closes #12854

Some more notes/tests:

  • Include without trailing newline
  • More edits

@bep bep force-pushed the fix/hugoctx-12854 branch 2 times, most recently from c96973a to 334c055 Compare October 31, 2024 12:21
@bep bep force-pushed the fix/hugoctx-12854 branch 3 times, most recently from 7ef7d4a to 8ffa9a4 Compare November 3, 2024 11:21
This issue fixes two cases where `{{__hugo_ctx` artifacts were left in the rendered output:

1. Inclusion when `.RenderShortcodes` is wrapped in HTML.
2. Inclusion of Markdown file without a trailing newline in some cases.

Closes gohugoio#12854
Updates gohugoio#12998
@bep bep changed the title Improve RenderShortcodes inside HTML Misc fixes and improvements Nov 3, 2024
@bep bep marked this pull request as ready for review November 3, 2024 12:05
@bep bep merged commit 30d9aea into gohugoio:master Nov 3, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

.RenderShortcodes generates artifact when used nested in HTML
1 participant