announce does not decode html entities #19

Open
opened 2 years ago by MightyPork · 0 comments
Owner

e.g.

<span class="h-card"><a class="u-url mention" data-user="AAZpysVFW9rCQUqDQ0" href="https://piggo.space/users/hob" rel="ugc">@<span>hob</span></a></span> /announce Group service upgraded 0.4.3 -&gt; 0.4.5, please report any problems. This is a bugfix release

after stripping tags, becomes

@hob /announce Group service upgraded 0.4.3 -&gt; 0.4.5, please report any problems. This is a bugfix release

and -&gt; is then announced in plaintext

e.g. ``` <span class="h-card"><a class="u-url mention" data-user="AAZpysVFW9rCQUqDQ0" href="https://piggo.space/users/hob" rel="ugc">@<span>hob</span></a></span> /announce Group service upgraded 0.4.3 -&gt; 0.4.5, please report any problems. This is a bugfix release ``` after stripping tags, becomes ``` @hob /announce Group service upgraded 0.4.3 -&gt; 0.4.5, please report any problems. This is a bugfix release ``` and `-&gt;` is then announced in plaintext
MightyPork added the
bug
label 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: MightyPork/group-actor#19
Loading…
There is no content yet.