summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/htmltidy.pm
AgeCommit message (Collapse)Author
2008-09-27htmltidy robustness fixesJoey Hess
* htmltidy: Avoid returning undef if tidy fails. Also avoid returning the untidied content if tidy crashes. In either case, it seems best to tidy the content to nothing. * htmltidy: Avoid spewing tidy errors to stderr.
2008-08-03add plugin safe/rebuild info (part 1 of 2)Joey Hess
too many plugins.. brain exploding..
2008-03-15* htmltidy: Pass --markup yes, in case tidy's config file disabled it.Joey Hess
2007-11-05reset SIGPIPE before returningJoey Hess
2007-04-27* pagespec_match() has changed to take named parameters, to better allowjoey
for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0.
2006-09-25* Fix a forkbomb in various calls to IPC::Open2, which has a highlyjoey
braindead interface. Closes: #389383
2006-09-09* Work on firming up the plugin interface:joey
- Plugins should not need to load IkiWiki::Render to get commonly used functions, so moved some functions from there to IkiWiki. - Picked out the set of functions and variables that most plugins use, documented them, and made IkiWiki export them by default, like a proper perl module should. - Use the other functions at your own risk. - This is not quite complete, I still have to decide whether to export some other things. * Changed all plugins included in ikiwiki to not use "IkiWiki::" when referring to stuff now exported by the IkiWiki module. * Anyone with a third-party ikiwiki plugin is strongly enrouraged to make like changes to it and avoid use of non-exported symboles from "IkiWiki::". * Link debian/changelog and debian/news to NEWS and CHANGELOG. * Support hyperestradier version 1.4.2, which adds a new required phraseform setting.
2006-09-03* Add proper waitpid calls for open2ed processes throughout to avoidjoey
zombies; this hit htmltidy especially badly.
2006-08-28* Change htmlize, format, and sanitize hooks to use named parameters.joey
2006-08-17* Catch failing IPC::Open2 in tidy plugin and retry in case this is ajoey
transient failure to fork (which I've seen happen in the wild).
2006-08-05* Turn off tidy indentation too.joey
2006-08-05* Move tidy back to sanitize hook, found out how to only show body.joey
2006-08-05* Disable tidy generator tag.joey
2006-08-04* Don't run tidy with -xml as that fails if the input is not well-formed.joey
Run it with -asxhtml instead, so it will output well-formed xhtml no matter what the input. * Disable tidy warnings too. * Add a new format hook, and make tidy use it, since tidy can really only operate on and output complete html documents, not the body chunks that sanitise gets.
2006-08-04* Fix the htmltidy plugin, which wasn't working due my breaking it whenjoey
I added it..
2006-07-29* htmltidy plugin from Faidon.joey