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

markdown: stricter detection of embedded markup #1762

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

sebix
Copy link
Contributor

@sebix sebix commented Sep 13, 2024

instead of only checking only for the existence of <, check for text directly behind the opening bracket and a closing bracket.

This prevents added paragraphs/new lines with just brackets or "arrows" (<-) in lines.

fixes #1761

instead of only checking only for the existence of `<`, check for text
directly behind the opening bracket and a closing bracket.

This prevents added paragraphs/new lines with just brackets or "arrows"
(`<-`) in lines.

fixes moinwiki#1761
@RogerHaase RogerHaase merged commit 07ee456 into moinwiki:master Sep 14, 2024
6 checks passed
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.

Markdown: < behind link creates a new paragraph
2 participants