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 inner shortcodes cannot be reused #5645

Closed
bep opened this Issue Jan 28, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@bep
Copy link
Member

bep commented Jan 28, 2019

This:

{{< highlight html >}}
{{< a.inline "v1" >}}
Inline {{ .Get 0 }}
{{< /a.inline >}}
{{< /highlight >}}

## B

{{< highlight html >}}
{{< a.inline "v3" />}}
{{< /highlight >}}

Fails with:

inline shortcodes do not support nesting

While it's correct that inline shortcodes do not support nesting, they can perfectly fine be nested inside regular shortcodes.

bep referenced this issue in XhmikosR/bootstrap Jan 28, 2019

@bep bep added the Bug label Jan 28, 2019

@bep bep modified the milestones: v0.54, v0.53.1 Jan 28, 2019

bep added a commit to bep/hugo that referenced this issue Jan 31, 2019

bep added a commit to bep/hugo that referenced this issue Jan 31, 2019

bep added a commit to bep/hugo that referenced this issue Jan 31, 2019

@bep bep closed this in #5660 Jan 31, 2019

bep added a commit that referenced this issue Jan 31, 2019

@bep bep modified the milestones: v0.53.1, v0.54 Feb 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment