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

Fix: shortcode imgproc does not work with % for markdown body #1522

Merged
merged 3 commits into from
May 31, 2023

Conversation

deining
Copy link
Collaborator

@deining deining commented May 25, 2023

This PR is part of #906. It contains a fix addressing and closing #332:

Two actions were needed in order to fix the issue:

  • remove indentation (as correctly mentioned when raising the issue)
  • adding a comment line in oder to fulfill the end condition of the html block containing the shortcode body (as defined in the CommonMark spec, number 7).

The PR also adds a paragraph to the user guide explaining the proper use of the shortcode with different markups (markdown/html).

This PR closes #332.

Copy link
Collaborator

@chalin chalin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made two copyedits. Otherwise, LGTM.
Thanks @deining!

@chalin
Copy link
Collaborator

chalin commented May 31, 2023

I haven't tested the changes (beyond it's use in the UG), but will trust that you have.

@chalin chalin merged commit 4b234dd into google:main May 31, 2023
@chalin chalin changed the title Fix: shortcode imgproc does not work with % for markdown body (#332) Fix: shortcode imgproc does not work with % for markdown body May 31, 2023
@deining deining deleted the issue-332 branch November 18, 2023 16:49
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.

imgproc does not work with % for markdown body
2 participants