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

Can't nest img shortcodes in columns or cards #51

Closed
cjyabraham opened this issue May 27, 2024 · 2 comments
Closed

Can't nest img shortcodes in columns or cards #51

cjyabraham opened this issue May 27, 2024 · 2 comments
Assignees

Comments

@cjyabraham
Copy link
Contributor

For some reason I can't nest an image shortcode {{< img src="/img/blog/image-name.png" >}} inside a column or card shortcode. It just renders the raw html directly in the browser. The spacer shortcode, however, can be nested successfully.

@thetwopct
Copy link
Collaborator

Does the info here resolve it? It's likely some kind of escaping that happens inside shortcodes.

@cjyabraham
Copy link
Contributor Author

No. I have that config snippet in place and it's still dumping raw html to the browser.

cjyabraham added a commit that referenced this issue May 29, 2024
Signed-off-by: Chris Abraham <cjyabraham@gmail.com>
@cjyabraham cjyabraham self-assigned this May 29, 2024
cjyabraham added a commit that referenced this issue May 29, 2024
fixes escaping of img tag in nested shortcodes (#51)
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

2 participants