SoylentNews / rehash

Forked from Slashcode, rehash is the codebase that powers SoylentNews.org, powered by mod_perl 2
http://soylentnews.org
GNU General Public License v2.0
56 stars 26 forks source link

balanceTags rewrite #145

Open paulej72 opened 9 years ago

paulej72 commented 9 years ago

From @TheMightyBuzzard on October 24, 2014 14:56

balanceTags currently sucks ass, breaks deep lists, and fails to catch unmatched closing tags. It needs to be rewritten with protecting the page in mind rather than trying to make sense of the users' input.

Copied from original issue: SoylentNews/slashcode#376

paulej72 commented 9 years ago

I think this was breaking ul lists in Story edit. Changed them to ol and added ( | and p tags.

paulej72 commented 9 years ago

Issue #99 was due to a bug in takyon's Greasemonkey scrip. See https://soylentnews.org/comments.pl?sid=7657&cid=196128. balanceTags is not that broken. Switching status to reflect this change.