nextcloud / nextcloud/text

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

Open
#8,869 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the report. First reproduce the issue with a public Nextcloud Text share link on an iOS or Android browser, then compare it with a desktop browser and an authenticated mobile session. Done means the formula remains rendered correctly without raw LaTeX text appended below it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, latex
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.