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

Always use % delimiter for added-in and changed-in shortcodes #1975

Merged
merged 5 commits into from
Oct 30, 2024

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Oct 15, 2024

The <> delimiters are not necessary for the shortcode to be rendered inline, and in some cases they break some expectations: a shortcode that is separated from other text to be in its own paragraph is not actually wrapped by a p element, breaking the spacing between paragraphs.

Previously affected sections:

Pull Request Checklist

Preview: https://pr1975--matrix-spec-previews.netlify.app

They should not be necessary, and in some cases they break some expectations,
like a shortcode that is separated from other text to be in its own paragraph
is not actually wrapped by a `p` element, breaking the spacing between paragraphs.

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh requested a review from a team as a code owner October 15, 2024 08:30
Signed-off-by: Kévin Commaille <[email protected]>
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

LGTM otherwise. Thanks!

Co-authored-by: Richard van der Hoff <[email protected]>
@richvdh richvdh merged commit 611d6c3 into matrix-org:main Oct 30, 2024
12 checks passed
@zecakeh zecakeh deleted the clean-changed-added-in branch October 30, 2024 10:22
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.

2 participants