Skip to content

text after display math block is not shown in web editor #8654

@meonkeys

Description

@meonkeys

Describe the bug
If Markdown includes a LaTeX-style block, text after this block is not shown in the web text editor.

To Reproduce
Steps to reproduce the behavior:

  1. create the following Markdown file as, e.g. test.md:
ABOVE

$$
\sum_{i=1}^n i = \frac{n(n+1)}{2}
$$

BELOW
  1. open text file in nextcloud web ui
  2. notice text BELOW is not visible

Expected behavior
All text and math are rendered in order.

Screenshots

Image

Server details:

  • Nextcloud version: 33.0.3
  • PHP Version: 8.4.21
  • Database: MariaDB 10.11.17
  • Text app version: 7.0.1

Client details:

  • OS: 64-bit Ubuntu 24.04 desktop and AOSP fork /e/ OS
  • Browser: Firefox 150.0.2 and Chromium 148.0.7778.167 and Nextcloud app running on /e/ OS (looks like a web view)
  • Device: multiple: desktop, laptop, mobile

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status
☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions