Skip to content

fix(math): fix lost content after math node#8718

Merged
mejo- merged 1 commit into
mainfrom
fix/math_close_div
Jun 9, 2026
Merged

fix(math): fix lost content after math node#8718
mejo- merged 1 commit into
mainfrom
fix/math_close_div

Conversation

@mejo-

@mejo- mejo- commented Jun 8, 2026

Copy link
Copy Markdown
Member

Properly close div element in markdown-it plugin. Div elements cannot be a void element with self-closing slash, so all content after the div became part of this div element.

Fixes: #8654

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests

🤖 AI (if applicable)

  • The content of this PR was partly generated using AI tools
  • The AI-generated content was reviewed, comprehended and tested by a human

Properly close div element in markdown-it plugin. Div elements cannot be
a void element with self-closing slash, so all content after the div
became part of this div element.

Fixes: #8654

Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- self-assigned this Jun 8, 2026
@mejo- mejo- added bug Something isn't working 3. to review labels Jun 8, 2026
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity team Jun 8, 2026
@mejo-

mejo- commented Jun 8, 2026

Copy link
Copy Markdown
Member Author

/backport to stable34

@mejo-

mejo- commented Jun 8, 2026

Copy link
Copy Markdown
Member Author

/backport to stable33

@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 👀 In review in 📝 Productivity team Jun 8, 2026

@silverkszlo silverkszlo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good and I have tested it in the UI. Thank you! :)

@mejo- mejo- merged commit a457fa8 into main Jun 9, 2026
75 of 77 checks passed
@mejo- mejo- deleted the fix/math_close_div branch June 9, 2026 09:15
@github-project-automation github-project-automation Bot moved this from 👀 In review to ☑️ Done in 📝 Productivity team Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

text after display math block is not shown in web editor

2 participants