We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From jekyll-cloudinary created by borisschapira: nhoizey#31
Alternative text and caption may contain special characters: quotes, HTML code (for caption). I've found a workaround to escape quotes and apostrophe:
{% capture img_alt %}L'intérieur de l'église de Château-L'Évèque{% endcapture %} {% capture img_caption %}Jacques Bodin, "Église de Château-L'Évèque", cc-by-2.0{% endcapture %} {% cloudinary {{ img_path }} alt="{{ img_alt | escape }}" caption="{{ img_caption | markdownify }}" %}
But I can't figure out how to make the tag work when the caption contains HTML code.
The text was updated successfully, but these errors were encountered:
The caption is already parsed for Markdown: https://github.com/nhoizey/jekyll-cloudinary/blob/master/lib/jekyll/cloudinary.rb#L162-L165
What kind of HTML would you like to add, that you can't write as Markdown?
Sorry, something went wrong.
Tried this as caption :
A "test" at [Google](https://www.google.com "Google Search Engine")
No branches or pull requests
From jekyll-cloudinary created by borisschapira: nhoizey#31
Alternative text and caption may contain special characters: quotes, HTML code (for caption). I've found a workaround to escape quotes and apostrophe:
But I can't figure out how to make the tag work when the caption contains HTML code.
The text was updated successfully, but these errors were encountered: