Issue with how HTML is sanitized in polls
Just noticed this on snack.social, which is running 1.1.2-2-g59d447d5-release-1-1-2 and FE bcfdd68e, but the issue is visible in MastoFE as well.
This poll with "<input type="date">" as an option has the entire HTML tag sanitized away to nothing, instead of displaying the text of the tag as expected. Additionally, the third option has a "<select>" tag that gets sanitized away.
How the poll looks on the originating Mastodon 3.0.1 instance:
How the poll looks on snack.social in PleromaFE:
Worth noting that this could possibly be Mastodon's issue instead (sending < and > instead of < and >, when it's clearly sanitizing to < and > for viewers on its own platform).
Edited by Eric Rucker