Skip to content

Manage Entries page shows raw HTML #2560

@wohali

Description

@wohali

Discovered this while working on the new RTE, which writes slightly more advanced (and supported) HTML into posts than the old RTE does:

MWSnap 2019-07-22, 00_13_04

We fully escape all of the content here via LJ::ehtml():

https://github.com/dreamwidth/dw-free/blob/master/htdocs/editjournal.bml#L105-L107

Maybe we should instead strip all tags and just show any textual content, unless that's an empty string, in which case, show the escaped HTML instead.

This is lowish priority, but something should be done before RTE 2.0 comes out of beta...suggestions welcome.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions