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

Small misc updates #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Small misc updates #1

wants to merge 3 commits into from

Conversation

r3pek
Copy link

@r3pek r3pek commented Jun 28, 2021

This are mostly "quality of life" improvements that I needed to make while running hugo_enc on my own blog.

I ended up hitting a few problems with the original code and (tried to) fix them. Hope it's useful for someone else using this plugin.

r3pek added 3 commits June 29, 2021 00:09
.innerHTML doesn't process <script> tags so add a workaround so they can be run if they exist.
This is necessary for example on the {{< tweet> }} shortcodes that run a twitter script to
apply the layout/css to the block itself.
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

Successfully merging this pull request may close these issues.

1 participant