cheeaun / cheeaun/phanpy

Events from Gancio now show up in Phanpy with unwanted HTML tags

Open
#1,107 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

### Site

_No response_

### Version

_No response_

### Instance

_No response_

### Browser

_No response_

### Bug description

The description contains HTML tags which are not stripped, and also not rendered.

At some point recently in Gancio's development, the event description was added to new event's as they are sent out to the Fediverse. Gancio's dev is trying to follow the standards for events in the Fediverse, which may be a space that has seen development. Mastodon 4.3.6 renders the event description correctly, as just text (I assume the tags are stripped out somewhere). Phanpy is not stripping out the included HTML tags.

Here is a related issue for Gancio: https://framagit.org/les/gancio/-/issues/504
Another related Gancio issue: https://framagit.org/les/gancio/-/issues/321
A related Mastodon issue: https://github.com/mastodon/mastodon/issues/28455

### To reproduce

- Tested on version 2024.09.18.30ce4a9c
- Follow a [Gancio](https://gancio.org/) calendar 1.22.0+
- See a new event in your feed, including event description

### Expected behavior

You see the new Gancio event in your Phanpy feed. The description is normal text. This is how I see in Mastodon v4.3.6 web client:
![Image](https://github.com/user-attachments/assets/ab019c2b-9dd2-416f-a35f-67dce8506a75)

This is the current behavior in Phanpy:
![Image](https://github.com/user-attachments/assets/8c7a0566-ad84-4dea-98c2-4e864938a60b)

### Other

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.