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

Cannot use referenced links inside 'notice' blocks #472

Open
m-vo opened this issue Jul 20, 2020 · 1 comment
Open

Cannot use referenced links inside 'notice' blocks #472

m-vo opened this issue Jul 20, 2020 · 1 comment
Labels

Comments

@m-vo
Copy link
Member

m-vo commented Jul 20, 2020

This is probably a bug in the theme/Hugo I guess?

Reproducer

{{% notice info %}}
See [the referenced link][Link] for more information.  
{{% /notice %}}

[Link]: https://example.com

This will result in a raw See [the referenced link][Link] for more information. in the output.

The the link is correctly substituted if not inside a notice block. Also, links are working fine inside the blocks when not using the reference syntax but defining them in place ([link](https://example.com)).

@fritzmg
Copy link
Contributor

fritzmg commented Jul 21, 2020

Yeah, unfortunately a known limitation - I think of the shortcode renderer itself, not the the theme. For now you'll have to include the link directly instead of using references.

@fritzmg fritzmg added the Bug label Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants