-
-
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
</div> tag shows up inside <code> for some unknown reason. #6759
Comments
From v0.60, Hugo uses
<p class="lead mt-5">TechOS kan nå lastes ned i <a href="#">AppStore!</a></p>
<div class="mx-auto mt-5">
</div>
</div> (Note: blank line following tab char) markdownify converts into ....
<p class="lead mt-5">TechOS kan nå lastes ned i <a href="#">AppStore!</a></p>
<div class="mx-auto mt-5">
<pre><code></div>
</code></pre>
</div> As a temporal workaround, you can avoid this by removing tab char just after And this is not markdown but raw html so you can also avoid it by removing markdownify from |
I removed | markdownify from cover.html and it worked. Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
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. |
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
This issue does not occur when using an older release:
This file seems to be where this is happening: $MY_HUGO_SITE/themes/docsy/layouts/shortcodes/blocks/link-down.html
{{ with .Parent }} {{ $id := $.Get "id" | default (printf "td-block-%d" ( add .Ordinal 1 )) }} {{ $color := $.Get "color" | default "blue" }} <a class="btn btn-link text-{{ $color }}" href="#{{ $id }}"><i class="fa fa-chevron-circle-down" style="font-size: 400%"></i></a> {{ else }} {{ errorf "The link-down shortcode is supposed to be nested inside a shortcode"}} {{ end }}
The text was updated successfully, but these errors were encountered: