Package: ikiwiki
Version: 3.141592
Severity: normal
If tidy is not installed, the process created by "open2" returns no
data. This case seems to handled by IkiWiki::Plugin::htmltidy::sanitize,
but in a quite user-unfriendly way -- all content that has been rendered
so far is discarded.
return "" if $sigpipe || ! defined $ret;
IMO, a better choice would be to leave the content as it was and issue
some kind of warning, i.e.:
if ($sigpipe || ! defined $ret) {
warn 'htmltidy generated no output';
return $params{content};
}
Cheers,
-Hilko
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ikiwiki depends on:
ii libhtml-parser-perl 3.62-1 collection of modules that parse H
ii libhtml-scrubber-perl 0.08-4 Perl extension for scrubbing/sanit
ii libhtml-template-perl 2.9-1 HTML::Template : A module for usin
ii libtext-markdown-perl 1.0.24-1 Markdown and MultiMarkdown markup
ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin
ii perl 5.10.0-25 Larry Wall's Practical Extraction
ii python 2.5.4-2 An interactive high-level object-o
ii python-support 1.0.3 automated rebuilding support for P
Versions of packages ikiwiki recommends:
ii bcc [c-compiler] 0.16.17-3 16-bit x86 C compiler
ii bzr 1.17-1 easy to use distributed version co
ii gcc [c-compiler] 4:4.3.3-9 The GNU C compiler
ii gcc-4.1 [c-compiler] 4.1.2-26 The GNU C compiler
ii gcc-4.2 [c-compiler] 4.2.4-6 The GNU C compiler
ii gcc-4.3 [c-compiler] 4.3.4-1 The GNU C compiler
ii gcc-4.4 [c-compiler] 4.4.1-3 The GNU C compiler
ii git-core 1:1.6.3.3-2 fast, scalable, distributed revisi
ii libauthen-passphrase-perl 0.006-1 Perl module encapsulating hashed p
ii libc6-dev [libc-dev] 2.9-25 GNU C Library: Development Librari
ii libcgi-formbuilder-perl 3.05.01-6 Easily generate and process statef
ii libcgi-session-perl 4.41-1 persistent session data in CGI app
ii liblwpx-paranoidagent-perl 1.04-1 a "paranoid" subclass of LWP::User
ii libmail-sendmail-perl 0.79.16-1 Send email from a perl script
ii libnet-openid-consumer-perl 1.03-1 library for consumers of OpenID id
ii libterm-readline-gnu-perl 1.19-1 Perl extension for the GNU Readlin
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii libxml-simple-perl 2.18-2 Perl module for reading and writin
ii mercurial 1.3.1-1 scalable distributed version contr
ii subversion 1.6.5dfsg-1 Advanced version control system
Versions of packages ikiwiki suggests:
ii dvipng 1.11-1 convert DVI files to PNG graphics
ii gettext 0.17-7 GNU Internationalization utilities
ii graphviz 2.20.2-3+b4 rich set of graph drawing tools
ii libcrypt-ssleay-perl 0.57-2 Support for https protocol in LWP
ii libdigest-sha1-perl 2.12-1 NIST SHA-1 message digest algorith
ii libfile-mimeinfo-perl 0.15-1 Perl module to determine file type
ii libhighlight-perl 2.10-1 perl bindings for highlight source
ii libhtml-tree-perl 3.23-1 represent and create HTML syntax t
ii liblocale-gettext-perl 1.05-4 Using libc functions for internati
ii libmailtools-perl 2.04-1 Manipulate email in perl programs
ii libnet-amazon-s3-perl 0.52-1 Amazon S3 Perl API - Simple Storag
ii librpc-xml-perl 0.67-1 Perl module implementation of XML-
ii libsearch-xapian-perl 1.0.14.0-1 Perl bindings for the Xapian searc
ii libsort-naturally-perl 1.02-1 Sort naturally - sort lexically ex
ii libtext-csv-perl 1.13-1 comma-separated values manipulator
ii libtext-textile-perl 2.12-1 Perl extension to format text usin
ii libtext-typography-perl 0.01-2 markup ASCII text with correct typ
ii libtext-wikicreole-perl 0.07-1 Convert Wiki Creole 1.0 markup to
ii libtext-wikiformat-perl 0.78-1 translates Wiki formatted text int
ii libxml-feed-perl 0.43+dfsg-1 syndication feed parser and auto-d
ii perlmagick 7:6.5.1.0-1.1 Perl interface to the ImageMagick
ii po4a 0.36.3-1 tools for helping translation of d
ii polygen 1.0.6.ds2-8 generator of random sentences from
ii python-docutils 0.5-4 utilities for the documentation of
pn sparkline-php <none> (no description available)
ii texlive 2007.dfsg.2-4 TeX Live: A decent selection of th
ii tidy 20081224cvs-1 HTML syntax checker and reformatte
pn viewvc | gitweb | viewcvs <none> (no description available)
pn xapian-omega <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]