-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
fix center-quote shortcode when config unsafe = false #160
Conversation
when config unsafe = false, center-quote without markdown works but shortcode with markdown doesn't work. the following doesn't work when unsafe = false: ``` {{% center-quote %}} **hello** *world* this is a center-quote shortcode example. {{% /center-quote %}} ``` with this fix, the following works with markdown when unsafe = false: ``` {{< center-quote >}} **hello** *world* this is a center-quote shortcode example. {{< /center-quote >}} ```
Someone is attempting to deploy a commit to a Personal Account owned by @Lruihao on Vercel. @Lruihao first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what I do on purpose, I want to keep the difference between the two ways and leave the decision to the users.
see this commit bc41ae5
This comment was marked as outdated.
This comment was marked as outdated.
@yureiita When config unsafe = false, Hugo will omitte the raw HTML (
However, using function |
@yureiita
|
Alright thanks, I'll just do that. Thanks for the suggestion. |
It's using another shortcode |
when config unsafe = false, center-quote without markdown works but shortcode with markdown doesn't work.
the following doesn't work when unsafe = false:
with this fix, the following works with markdown when unsafe = false: