]> sipb.mit.edu Git - ikiwiki.git/commitdiff
adding htmlbalance; housekeeping
authorJoey Hess <joey@kodama.kitenet.net>
Mon, 17 Nov 2008 19:09:53 +0000 (14:09 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Mon, 17 Nov 2008 19:09:53 +0000 (14:09 -0500)
Used the contrib version of the plugin page since it seemed better than the
other one.

debian/changelog
debian/control
debian/copyright
doc/plugins/contrib/htmlbalance.mdwn [deleted file]
doc/plugins/htmlbalance.mdwn

index dd19c14634530de0d6d758a98a809c3d3a06f3d0..ef46370d6273286c4fb3842c2a6d9965cd6823c0 100644 (file)
@@ -1,3 +1,9 @@
+ikiwiki (2.71) UNRELEASED; urgency=low
+
+  * htmlbalance: New plugin contributed by Simon McVittie.
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 17 Nov 2008 14:02:10 -0500
+
 ikiwiki (2.70) unstable; urgency=low
 
   * Avoid crash on malformed utf-8 discovered by intrigeri.
index fdf2a3a36074593ce14196b57b60a1e21ed8c43f..fb85551de7df57e20940934260fc821b85dcbd9f 100644 (file)
@@ -14,7 +14,7 @@ Package: ikiwiki
 Architecture: all
 Depends: ${perl:Depends}, markdown | libtext-markdown-perl, libhtml-scrubber-perl, libhtml-template-perl, libhtml-parser-perl, liburi-perl
 Recommends: gcc | c-compiler, libc6-dev | libc-dev, subversion | git-core (>= 1:1.5.0) | tla | bzr (>= 0.91) | mercurial | monotone (>= 0.38), libxml-simple-perl, libnet-openid-consumer-perl, liblwpx-paranoidagent-perl, libtimedate-perl, libcgi-formbuilder-perl (>= 3.05), libcgi-session-perl (>= 4.14-1), libmail-sendmail-perl, libauthen-passphrase-perl
-Suggests: viewvc | gitweb | viewcvs, libsearch-xapian-perl, xapian-omega (>= 1.0.5), librpc-xml-perl, libtext-wikiformat-perl, python, python-docutils, polygen, tidy, libxml-feed-perl, libmailtools-perl, perlmagick, libfile-mimeinfo-perl, libcrypt-ssleay-perl, liblocale-gettext-perl (>= 1.05-1), libtext-typography-perl, libtext-csv-perl, libdigest-sha1-perl, graphviz, libnet-amazon-s3-perl, sparkline-php, texlive, dvipng
+Suggests: viewvc | gitweb | viewcvs, libsearch-xapian-perl, xapian-omega (>= 1.0.5), librpc-xml-perl, libtext-wikiformat-perl, python, python-docutils, polygen, tidy, libhtml-tree-perl, libxml-atom-perl, libxml-feed-perl, libmailtools-perl, perlmagick, libfile-mimeinfo-perl, libcrypt-ssleay-perl, liblocale-gettext-perl (>= 1.05-1), libtext-typography-perl, libtext-csv-perl, libdigest-sha1-perl, graphviz, libnet-amazon-s3-perl, sparkline-php, texlive, dvipng
 Conflicts: ikiwiki-plugin-table
 Replaces: ikiwiki-plugin-table
 Provides: ikiwiki-plugin-table
index f257234dd2b4cd5f65c1dc825cb2683f6f295b55..5468362268b2fa4fd4fa7d6588add2443e18b08d 100644 (file)
@@ -76,6 +76,10 @@ Files: htmltidy.pm
 Copyright: © 2006 Faidon Liambotis
 License: GPL-2+
 
+Files: htmlbalance.pm
+Copyright: © 2008 Simon McVittie <http://smcv.pseudorandom.co.uk/>
+License: GPL-2+
+
 Files: polygen.pm, pagestats.pm, cutpaste.pm
 Copyright: © 2006 Enrico Zini
 License: GPL-2+
diff --git a/doc/plugins/contrib/htmlbalance.mdwn b/doc/plugins/contrib/htmlbalance.mdwn
deleted file mode 100644 (file)
index 728e6af..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-[[!template id=plugin name=htmlbalance author="[[Simon_McVittie|smcv]]"]]
-[[!tag type/html]]
-
-This plugin ensures that the HTML emitted by ikiwiki contains well-balanced
-HTML tags, by parsing it with [[!cpan HTML::TreeBuilder]] and re-serializing it. This
-acts as a lighter-weight alternative to [[plugins/htmltidy]]; it doesn't
-ensure validity, but it does at least ensure that formatting from a
-blog post pulled in by the [[ikiwiki/directive/inline]] directive doesn't
-leak into the rest of the page.
-
-htmlbalance is available from the 'htmlbalance' branch in [[smcv]]'s git repository.
-I'd like to get this plugin included in ikiwiki - any code review is welcome.
index 7cdb1f950b3b87e03c948ef5e3d28da928ab8c6d..f4e2298ee6c12499d56a1eff00d42a8bbce8ee3f 100644 (file)
@@ -1,9 +1,9 @@
-[[!template id=plugin name=htmlbalance author="Simon McVittie"]]
+[[!template id=plugin name=htmlbalance author="[[Simon_McVittie|smcv]]"]]
 [[!tag type/html]]
 
 This plugin ensures that the HTML emitted by ikiwiki contains well-balanced
-HTML tags, by parsing it with HTML::TreeBuilder and re-serializing it. This
+HTML tags, by parsing it with [[!cpan HTML::TreeBuilder]] and re-serializing it. This
 acts as a lighter-weight alternative to [[plugins/htmltidy]]; it doesn't
 ensure validity, but it does at least ensure that formatting from a
-blog post pulled in by \[[![[ikiwiki/directive/inline]]]] doesn't
+blog post pulled in by the [[ikiwiki/directive/inline]] directive doesn't
 leak into the rest of the page.