github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2020-07-21 11:17 pm

[dreamwidth/dw-free] a195cc: CleanHTML: rely on DW::Formats for defaults/aliases

Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: a195cccfd508f34972e83016ca6e4ba80193c8cb
https://github.com/dreamwidth/dw-free/commit/a195cccfd508f34972e83016ca6e4ba80193c8cb
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2020-07-22 (Wed, 22 Jul 2020)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm

Log Message:
-----------
CleanHTML: rely on DW::Formats for defaults/aliases

This was sort of an artifact of the order I built these in, but anyway: since
Formats has utilities for resolving aliases and such, the HTML cleaner only
really needs to care about the "real" format IDs.

This has no real effect on normal behavior today, but it makes things easier to
maintain, and it makes things behave more predictably in tests. (Notably, fixes
a test failure I recently introduced in t/cleaner-markdown.t by trying to pass
the cleaner an alias that was only defined in Formats.)


Commit: 49baf2dc256e02359ba96bd672646b752b7e4623
https://github.com/dreamwidth/dw-free/commit/49baf2dc256e02359ba96bd672646b752b7e4623
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2020-07-22 (Wed, 22 Jul 2020)

Changed paths:
M doc/dependencies-cpanm

Log Message:
-----------
Add Test::MockObject to dependencies-cpanm

Dependency was introduced in #2709.


Compare: https://github.com/dreamwidth/dw-free/compare/a3fd4ad7bf02...49baf2dc256e

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org