Commit Graph

7 Commits (c8883d344029baeb83f4285144e734414f7ae737)

Author SHA1 Message Date
Andrew Dolgov c8883d3440 af_comics filters: don't try to load empty html 3 years ago
Andrew Dolgov afc7142250 move all $fetch globals to UrlHelper 3 years ago
Andrew Dolgov 74568df4ff remove a lot of stuff from global context (functions.php), add a few helper classes instead 4 years ago
Andrew Dolgov a4525d31b2 replace FALSE with false so that static analyzer shuts up about it 4 years ago
wn_ f3774b9d65 Use 'saveHTML' when generating HTML from a DOMDocument.
This primarily occurs when modifying article content.  If 'saveXML' is
used following 'loadHTML' there is the possibility of strangeness, such
as a self-closing anchor tag.

Note that the DOMDocument used in 'classes/feeditem/atom.php' came from
'loadXML', but we use 'saveHTML' since we're returning HTML content.
7 years ago
Andrew Dolgov 21ce7d9ec0 update phpmd ruleset to use (subset) of cleancode
fix various minor issues reported by static analysis
remove redundant php closing tag from several more files
7 years ago
Andrew Dolgov 73963a21b2 af_comics: fix for whomp 9 years ago