Skip to content

Conversation

@kareila
Copy link
Member

@kareila kareila commented Jul 12, 2020

I took a wild stab at this - the options for the cleaner may need to be tweaked further, but this seems like a reasonable first attempt.

Fixes #2560.

…escaping everything

I took a wild stab at this - the options for the cleaner may need to be tweaked further, but this seems like a reasonable first attempt.
@nfagerlund
Copy link
Contributor

nfagerlund commented Jul 12, 2020

The way all these old BML pages call all these low-level functions constantly makes my skin crawl. 😖

So, LJ::Entry objects already have an event_html_summary method -- would it make more sense to just grab some item IDs ($u->recent_items? at least that's what S2 does), make entry objects, and call that?

The only problem I could think of would be performance concerns, but it seems like that shouldn't be any nastier than just building a last-N journal page, yeah? I checked to see how outrageous this list gets, and while the form will let you request up to 99, it seems to ignore that and actually cap it at 50.

@kareila
Copy link
Member Author

kareila commented Jul 13, 2020

I'm happy to investigate that alternative - I'll flag this as having requested changes until I have time to try it out.

@zorkian
Copy link
Member

zorkian commented Oct 21, 2025

Resolved by #3502

@zorkian zorkian closed this Oct 21, 2025
@kareila kareila deleted the 2560-clean-content branch October 21, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Manage Entries page shows raw HTML

4 participants