Skip to content

Remove unresolvable wrapper shortcodes from text-annotations highlight page (23 languages) - #84

Merged
muqarrab-aspose merged 1 commit into
masterfrom
fix/remove-wrapper-shortcodes-text-annotations-highlight
Oct 1, 2026
Merged

muqarrab-aspose merged 1 commit into
masterfrom
fix/remove-wrapper-shortcodes-text-annotations-highlight

Conversation

@adil-aspose

Copy link
Copy Markdown
Collaborator

All 23 language variants of text-annotations/annotate-pdfs-groupdocs-highlight-java wrapped their body in {{< blocks/products/pf/main-wrap-class >}}, {{< blocks/products/pf/main-container >}}, and {{< blocks/products/pf/tutorial-page-section >}}, closed at the bottom along with {{< blocks/products/products-backtop-button >}}.

Despite being open/close-matched (unlike the dangling-close-only variant fixed in #78, #80 and #83), Hugo's production build fails with:

failed to extract shortcode: template for shortcode "blocks/products/pf/main-wrap-class" not found

Same foreign/orphaned-wrapper defect class, just caught on the open tag instead of an unmatched close. Hugo builds languages in order and aborts on the first failure (arabic, alphabetically first), which is why only one language's path appeared in the build log even though the defect spans all 23 variants of this page.

…t page (23 languages)

All 23 language variants of text-annotations/annotate-pdfs-groupdocs-highlight-java
wrapped their body in {{< blocks/products/pf/main-wrap-class >}},
{{< blocks/products/pf/main-container >}}, and
{{< blocks/products/pf/tutorial-page-section >}}, closed at the bottom along with
{{< blocks/products/products-backtop-button >}}. Despite being open/close-matched
(unlike the dangling-close-only variant fixed in #78/#80/#83), Hugo's production
build fails with "failed to extract shortcode: template for shortcode
\"blocks/products/pf/main-wrap-class\" not found" on this page family -- same
foreign/orphaned-wrapper defect class, just caught on the open tag instead of an
unmatched close. Hugo builds languages in order and aborts on the first failure
(arabic, alphabetically first), which is why only one language's path appeared
in the build log even though the defect spans all 23.
@muqarrab-aspose
muqarrab-aspose merged commit 70e8e60 into master Oct 1, 2026
1 check failed
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.

2 participants