Dimillian / Dimillian/IceCubesApp

Bug: Editing a post corrupts HTML escaped characters

Open
#1,979 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
7.1k
Forks
720
PR merge metrics
No merged PRs in 30d

Description

Environment:

  • OS: 17.3
  • IceCubesApp version: 1.10.31

Description

  • Publish a post in which a non-breaking space is used (for example). In my case I drafted it elsewhere and then copy-pasted to the app for posting.
  • Some weeks later (ie move to other feed, quit app, reopen app, find post).
  • Edit the post to make a trivial change.
  • Notice the space has turned into a doubly escaped character, thus showing raw HTML to end users.

Example: https://fosstodon.org/@qunit/111117431901446265

Screenshot

Related Issues

Contributor guide

No contributing guide indexed for this repository

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

Start by reproducing the reported flow in IceCubesApp: publish a post containing a non-breaking space, leave it for later, then edit it and inspect the resulting post. Trace the post-editing path and compare the character representation before and after editing, using the linked example and related issue for context. Done means editing preserves the character and does not expose raw HTML to readers.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.