Skip to content

Accept richer text from remote posts

Thibaut Girka requested to merge ThibG/smilodon:liberty-richtext into liberty

Support abbr, del, pre, blockquote, code, strong, b, em, i, u, ul, ol, li and h1 to h5 tags in remote posts.

Such posts can already be authored in Pleroma and other software, and would currently look something like:

Improperly formatted post (as currently displayed)

image

This PR makes it so it is displayed like this:

image

The PR also includes a couple options to visually fallback to a text representation (through client-side CSS):

Block tags “stripped”

image

Everything “stripped”

image

Merge request reports