[dreamwidth/dw-free] 1ca7b3: Make cleaner closer more intelligently
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 1ca7b3fbbb95888ea73cc317c25763e8b96e2ec7
https://github.com/dreamwidth/dw-free/commit/1ca7b3fbbb95888ea73cc317c25763e8b96e2ec7
Author: Mark Smith <mark@dreamwidth.org>
Date: 2015-02-15 (Sun, 15 Feb 2015)
Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M t/clean-comment.t
Log Message:
-----------
Make cleaner closer more intelligently
There is a problem where the HTML cleaner just randomly closes tags in
some ineffective order. Instead, we should actually use the tag stack to
close tags in the order we saw them.
This also removes autoclose as an option: we always want to close when
we're doing HTML cleaning.
Similarly, this removes tablecheck: we always want that on. If someone
is throwing in table related HTML, we should ensure that it can't get
busted out somehow.
Commit: bc76e0cf94427eb2f8937922a5f9a174f547784f
https://github.com/dreamwidth/dw-free/commit/bc76e0cf94427eb2f8937922a5f9a174f547784f
Author: Afuna <afuna@users.noreply.github.com>
Date: 2015-02-15 (Sun, 15 Feb 2015)
Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M t/clean-comment.t
Log Message:
-----------
Merge pull request #1223 from zorkian/fix-cleaner
Make cleaner closer more intelligently
Compare: https://github.com/dreamwidth/dw-free/compare/b200316f3b5a...bc76e0cf9442
Home: https://github.com/dreamwidth/dw-free
Commit: 1ca7b3fbbb95888ea73cc317c25763e8b96e2ec7
https://github.com/dreamwidth/dw-free/commit/1ca7b3fbbb95888ea73cc317c25763e8b96e2ec7
Author: Mark Smith <mark@dreamwidth.org>
Date: 2015-02-15 (Sun, 15 Feb 2015)
Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M t/clean-comment.t
Log Message:
-----------
Make cleaner closer more intelligently
There is a problem where the HTML cleaner just randomly closes tags in
some ineffective order. Instead, we should actually use the tag stack to
close tags in the order we saw them.
This also removes autoclose as an option: we always want to close when
we're doing HTML cleaning.
Similarly, this removes tablecheck: we always want that on. If someone
is throwing in table related HTML, we should ensure that it can't get
busted out somehow.
Commit: bc76e0cf94427eb2f8937922a5f9a174f547784f
https://github.com/dreamwidth/dw-free/commit/bc76e0cf94427eb2f8937922a5f9a174f547784f
Author: Afuna <afuna@users.noreply.github.com>
Date: 2015-02-15 (Sun, 15 Feb 2015)
Changed paths:
M cgi-bin/LJ/CleanHTML.pm
M t/clean-comment.t
Log Message:
-----------
Merge pull request #1223 from zorkian/fix-cleaner
Make cleaner closer more intelligently
Compare: https://github.com/dreamwidth/dw-free/compare/b200316f3b5a...bc76e0cf9442