Change deb dependencies to list Text::Markdown before markdown, since the former, while slower, has a much better html parser that avoids numerous bugs.

master
Joey Hess 2008-07-12 10:40:31 -04:00
parent 0a09638f96
commit a0f596b6ed
3 changed files with 16 additions and 1 deletions

3
debian/changelog vendored
View File

@ -12,6 +12,9 @@ ikiwiki (2.54) UNRELEASED; urgency=low
[ Joey Hess ] [ Joey Hess ]
* template: Add support for a BASENAME variable. * template: Add support for a BASENAME variable.
* Fixes creation of pages when clicking on WikiLinks starting with "/". * Fixes creation of pages when clicking on WikiLinks starting with "/".
* Change deb dependencies to list Text::Markdown before markdown, since
the former, while slower, has a much better html parser that avoids
numerous bugs.
-- Josh Triplett <josh@freedesktop.org> Wed, 09 Jul 2008 21:30:33 -0700 -- Josh Triplett <josh@freedesktop.org> Wed, 09 Jul 2008 21:30:33 -0700

2
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: ikiwiki
Section: web Section: web
Priority: optional Priority: optional
Build-Depends: perl, debhelper (>= 5) Build-Depends: perl, debhelper (>= 5)
Build-Depends-Indep: dpkg-dev (>= 1.9.0), libxml-simple-perl, markdown | libtext-markdown-perl, libtimedate-perl, libhtml-template-perl, libhtml-scrubber-perl, wdg-html-validator, libhtml-parser-perl, liburi-perl Build-Depends-Indep: dpkg-dev (>= 1.9.0), libxml-simple-perl, libtext-markdown-perl | markdown, libtimedate-perl, libhtml-template-perl, libhtml-scrubber-perl, wdg-html-validator, libhtml-parser-perl, liburi-perl
Maintainer: Joey Hess <joeyh@debian.org> Maintainer: Joey Hess <joeyh@debian.org>
Uploaders: Joey Hess <joeyh@debian.org>, Josh Triplett <josh@freedesktop.org> Uploaders: Joey Hess <joeyh@debian.org>, Josh Triplett <josh@freedesktop.org>
Standards-Version: 3.8.0 Standards-Version: 3.8.0

View File

@ -16,3 +16,15 @@ makes the whole wiki page be rendered as expected.
Hint : in all cases, the non-interpreted markdown code is copied as-is Hint : in all cases, the non-interpreted markdown code is copied as-is
in the HTML output, without any leading `<p>` or any HTML formatting. in the HTML output, without any leading `<p>` or any HTML formatting.
> You're using the old version of `markdown`, that is known to have a broken block
> html parser, that will get confused if markdown is present between two
> separate html blocks, and not format the markdown.
>
> This is fixed in [[cpan Text::MarkDown]] 1.0.19. markdown 1.0.2 also
> fixes the problem. Install either one. I'm going to make ikiwiki's
> dependencies list Text::Markdown before markdown, since people keep
> stumbling over this. (The downside is that the old broken markdown is
> faster). --[[Joey]]
[[done]]