Skip to content

LaTeX formula renders unformatted text below formula on mobile devices (for public share link only) #8869

Description

@shu0406

Steps to reproduce

Create a document in Nextcloud Text (NC 33.0.6)
Insert a LaTeX formula (e.g. via the new LaTeX formula feature introduced in NC 33)
Share the document via public link (no login required)
Open the public share link on a mobile device (iOS or Android browser)

Expected behavior

The LaTeX formula is rendered correctly as a mathematical formula — no additional raw text below it.

Actual behavior

The LaTeX formula is rendered correctly and the raw unformatted LaTeX source code is additionally appended below the rendered formula.

Example:

Image

Environment

Nextcloud Server: 33.0.6 Enterprise
Nextcloud Text app version: (please check in Apps → Text)
Affected clients: Mobile browsers (iOS Safari, tested on iOS 18.7)
Not affected: Desktop browsers (all), mobile browsers when logged in

Additional context

The bug only appears when accessing via public share link without authentication on a mobile device. The feature (LaTeX in Text) was introduced/available since NC 33.0.x upgrade.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions