Calendar icon indicating copy to clipboard operation
Calendar copied to clipboard

HTML descriptions appear as raw markup in event details, widgets and reminders

Open pengusto opened this issue 3 weeks ago • 0 comments

Checklist

  • [x] I can reproduce the bug with the latest version given here.
  • [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [x] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [x] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [x] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [x] This issue contains only one bug.
  • [x] I have read and understood the contribution guidelines.

Affected app version

1.12.1 (version code 24). Official GitHub APK, re-signed with a disposable emulator test key.

Affected Android/Custom ROM version

Android 15, ARM64 emulator

Affected device model

Android SDK built for arm64 (emulator)

How did you install the app?

GitHub releases

Which calendar service or provider do you use, if any?

Outlook / Microsoft Exchange in the original observation; synthetic offline events in the emulator fixture.

Which sync adapter app do you use for calendar synchronization, if any?

Not applicable to the offline emulator fixture; the original sync-adapter route was not recorded.

Steps to reproduce the bug

  1. Use the original Fossify Calendar 1.12.1 APK and create or load an event with an HTML description, for example <html><body><p>Hello <b>world</b></p></body></html>.
  2. Open the event and inspect its description.
  3. Inspect the widget and reminder output when configured to show the description.

The 1.12.1 emulator fixture used synthetic offline data. It rendered the app's actual widget RemoteViews in a test container and captured an actual posted notification; it invoked the relevant app code directly, not a complete manual launcher or scheduled-reminder flow. An earlier observation involved an Outlook/Exchange event; its installed version, device model and sync route were not recorded.

Expected behavior

Descriptions are readable in the editor, event lists, widgets and reminders; meaningful line breaks and links are retained where appropriate. Editing another field preserves the original HTML source, including surrounding whitespace. Plain text continues to work unchanged.

Actual behavior

The original 1.12.1 event editor displays raw HTML. In the synthetic fixture, the original widget RemoteViews and posted notification also contain literal tags, obscuring the description.

Screenshots/Screen recordings

Matched Android 15 emulator captures of the same synthetic event. The original official Calendar 1.12.1 APK was re-signed with a disposable test key. The after images show a separate Morphe APK patch, not the native contributor-fork implementation.

Widget: the app's actual RemoteViews, rendered in a test container (not an installed launcher widget).

Before: original After: Penguin patch
Original widget shows raw HTML Patched widget shows readable text

Reminder: the app's posted notification in the Android notification shade.

Before: original After: Penguin patch
Original notification shows raw HTML Patched notification shows readable text

Capture provenance, APK hashes and test details.

Editor: separate screenshots of the native contributor-fork implementation, using a synthetic Exchange-style event.

Before Native implementation
Editor shows raw Exchange HTML Native preview shows readable description

Additional information

This report follows up on #12 and #975. My previous #1364 and #1402 were automatically closed; DavidBevi asked for the proposal to be considered: https://github.com/FossifyOrg/Calendar/issues/1364#issuecomment-6618196646. I previously contributed information to #12 and https://github.com/orgs/FossifyOrg/discussions/949. This report adds 1.12.1 reproduction evidence for widget and notification surfaces.

Prepared native fix: https://github.com/pengusto/Calendar/pull/1. The contributor-fork PR reports a passing build, lint, Detekt and 25 Android instrumentation tests; it has not been submitted upstream.

Separate workaround: Penguin Patches v1.6.4, Readable Calendar descriptions, for original 1.12.0 and 1.12.1 APKs: https://github.com/pengusto/penguin-patches/releases/tag/v1.6.4. The local Manager-exported APK passed 34 editor/widget/notification checks, and the original passed 29 baseline checks on the emulator.

Live Outlook/CalDAV round-trip and physical-device tests remain unverified. I would welcome feedback on the implementation and a help wanted label if an upstream PR is welcome.

pengusto avatar Nov 04 '26 20:11 pengusto