Commit Graph

7 Commits (6b7af973b2264ec643ae7b46113ee54d10451fd7)

Author SHA1 Message Date
Andrew Dolgov be4e7b1340 fix several issues reported by phpstan 4 years ago
Andrew Dolgov 671f4cee65 domdocument: remove old meta charset unicode hacks, replace with shorter xml preamble utf8 hack (on loadhtml where it makes sense)
af_readability: better (?) charset hack for non-unicode pages
6 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
8 years ago
Andrew Dolgov 129d626354 plugins: remove obsolete plugin_data/stored stuff 10 years ago
Andrew Dolgov 3263c9ccee af_fsckportal: remove unused variables 10 years ago
Andrew Dolgov 1130125a3a add af_fsckportal 11 years ago