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

Captions aren't shown in local-mode #91

Open
gamue opened this issue Oct 4, 2020 · 0 comments
Open

Captions aren't shown in local-mode #91

gamue opened this issue Oct 4, 2020 · 0 comments

Comments

@gamue
Copy link

gamue commented Oct 4, 2020

When using the non-production-mode (only_prod: true) the captions aren't written to the page, they only appear on the page when compiling for production, which is not very good when developing/writing posts.

Reason is that

return "<img src=\"#{image_dest_url}\" #{attr_string} #{img_attr} #{width_height} crossorigin=\"anonymous\" />"
ends with a return but the part with figure is checked below (L316 and following).

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

1 participant