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

fragment / frag inside section does not work #93

Closed
bcostes opened this issue Jul 28, 2020 · 6 comments
Closed

fragment / frag inside section does not work #93

bcostes opened this issue Jul 28, 2020 · 6 comments

Comments

@bcostes
Copy link

bcostes commented Jul 28, 2020

Hello,

I am having trouble making fragment and frag shortcode work inside section shortcode.
Fot instance, the following markdown :

image

will end up with this in the browser :

image

It works perfectly outside {{% section %}} though.

Any idea ? Is it just me ?

Thanks

@bcostes
Copy link
Author

bcostes commented Jul 28, 2020

Sorry, haven't see that similar issue was still opened.

@joshed-io
Copy link
Owner

Hi @bcostes, thanks for reporting. I believe this is a known issue, the same as here.

I can't say for sure but one workaround you could try is using plain HTML in those particular slides, as documented here.

@neroichi
Copy link

I had the same issues

@featherbear
Copy link
Contributor

featherbear commented Oct 15, 2020

Same issues here. Works for me on 0.58.2, but breaking in 0.68.3.

Seems to be an issue with how Hugo is parsing the generated fragment code.
My current workaround is to turn the fragment.html HTML code into a one liner ...
it seems to stop the < to &lt; escape from happening

EDIT: Breaks from release 0.60.0

@chrisreddington
Copy link
Contributor

@dzello, @featherbear - Am I right in thinking that this issue is now resolved by #97, so this issue could now be closed? Thanks!

@joshed-io
Copy link
Owner

@chrisreddington I believe so, thanks for pointing that out, I'll go ahead and close this one.

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

No branches or pull requests

5 participants