Your message dated Sun, 27 Jul 2008 15:47:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#492529: fixed in ikiwiki 2.55
has caused the Debian Bug report #492529,
regarding toggle plugin is hurt by html tidying
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
492529: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492529
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: ikiwiki
Version: 2.53
Severity: normal
Tags: patch

Hello,

thanks for ikiwiki!

I noticed that the toggleable plugin sometimes fails to make some text
toggleable: the text is shown, and the toggle links don't do anything.

I traced the problem to the HTML being tidied: instead of:

        <div class="toggleable" id="foobarbaz"></div>

the plugin would have to process:

        <div class="toggleable" id="foobarbaz">
        </div>

and the regexp at line 109 of toggle.pm would fail:

        if ($params{content}=~s!(<div class="toggleable(?:-open)?" 
id="[^"]+">)</div>!$1!g)

Fixing this is simple: just adding \s* works:

        if ($params{content}=~s!(<div class="toggleable(?:-open)?" 
id="[^"]+">\s*)</div>!$1!g)


Ciao,

Enrico


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ikiwiki depends on:
ii  libhtml-parser-perl        3.56-1+b1     A collection of modules that parse
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  liburi-perl                1.35.dfsg.1-1 Manipulates and accesses URI strin
ii  markdown                   1.0.1-7       Text-to-HTML conversion tool
ii  perl                       5.10.0-11     Larry Wall's Practical Extraction 

Versions of packages ikiwiki recommends:
ii  bzr                         1.5-1        easy to use distributed version co
ii  gcc [c-compiler]            4:4.3.1-1    The GNU C compiler
ii  gcc-4.1 [c-compiler]        4.1.2-23     The GNU C compiler
ii  gcc-4.2 [c-compiler]        4.2.4-3      The GNU C compiler
ii  gcc-4.3 [c-compiler]        4.3.1-2      The GNU C compiler
ii  git-core                    1:1.5.6.2-1  fast, scalable, distributed revisi
ii  libauthen-passphrase-perl   0.005-3      Perl module encapsulating hashed p
ii  libc6-dev [libc-dev]        2.7-10       GNU C Library: Development Librari
ii  libcgi-formbuilder-perl     3.05.01-6    Easily generate and process statef
ii  libcgi-session-perl         4.32-1       Persistent session data in CGI app
ii  liblwpx-paranoidagent-perl  1.03-1.1     a "paranoid" subclass of LWP::User
ii  libmail-sendmail-perl       0.79-5       Send email from a perl script
ii  libnet-openid-consumer-perl 0.14-2       library for consumers of OpenID id
ii  libtimedate-perl            1.1600-9     Time and date functions for Perl
ii  libxml-simple-perl          2.18-1       Perl module for reading and writin
ii  subversion                  1.5.0dfsg1-4 Advanced version control system

Versions of packages ikiwiki suggests:
ii  graphviz            2.20.0-1             rich set of graph drawing tools
ii  libcrypt-ssleay-per 0.57-1+b1            Support for https protocol in LWP
ii  libdigest-sha1-perl 2.11-2+b1            NIST SHA-1 message digest algorith
pn  libfile-mimeinfo-pe <none>               (no description available)
ii  liblocale-gettext-p 1.05-4               Using libc functions for internati
ii  libmailtools-perl   2.03-1               Manipulate email in perl programs
pn  libnet-amazon-s3-pe <none>               (no description available)
pn  librpc-xml-perl     <none>               (no description available)
pn  libsearch-xapian-pe <none>               (no description available)
pn  libtext-csv-perl    <none>               (no description available)
pn  libtext-typography- <none>               (no description available)
pn  libtext-wikiformat- <none>               (no description available)
pn  libxml-feed-perl    <none>               (no description available)
ii  perlmagick          7:6.3.7.9.dfsg1-2+b2 Perl interface to the libMagick gr
ii  polygen             1.0.6.ds2-6          generator of random sentences from
ii  python              2.5.2-1              An interactive high-level object-o
ii  python-docutils     0.4-6                Utilities for the documentation of
ii  tidy                20080116cvs-2        HTML syntax checker and reformatte
pn  viewvc | gitweb | v <none>               (no description available)
pn  xapian-omega        <none>               (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: ikiwiki
Source-Version: 2.55

We believe that the bug you reported is fixed in the latest version of
ikiwiki, which is due to be installed in the Debian FTP archive:

ikiwiki_2.55.dsc
  to pool/main/i/ikiwiki/ikiwiki_2.55.dsc
ikiwiki_2.55.tar.gz
  to pool/main/i/ikiwiki/ikiwiki_2.55.tar.gz
ikiwiki_2.55_all.deb
  to pool/main/i/ikiwiki/ikiwiki_2.55_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated ikiwiki package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 27 Jul 2008 11:23:13 -0400
Source: ikiwiki
Binary: ikiwiki
Architecture: source all
Version: 2.55
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 ikiwiki    - a wiki compiler
Closes: 492529
Changes: 
 ikiwiki (2.55) unstable; urgency=low
 .
   * remove: New plugin that adds the ability to remove pages via the web.
     (Sponsored by The TOVA Company.)
   * rename: New plugin that adds the ability to rename pages via the web.
     (Sponsored by The TOVA Company.) (This one's for you, Kyle.)
   * All rcs backends need to implement rcs_remove, rcs_commitstaged,
     and rcs_rename. (Done for svn, git).
   * This version adds renamepage hooks, which can be used to modify page 
content,
     including links, during renames.
   * prefix_directives enabled in doc wiki, all preprocessor directives
     converted. (Simon McVittie)
   * editpage: Don't show attachments link when attachments are disabled.
   * tag: Allow tagbase to be overridden by starting a tag with "./" or "/".
     (Simon McVittie)
   * Really fix bug with links to pages with names containing colons.
     Previous fix mised a few cases.
   * Avoid troublesome abs_path calls in wrapper setup.
   * Add allow_symlinks_before_srcdir config setting that can be used to avoid
     a security check that is a good safe default, but problimatic overkill in
     some situations.
   * Don't allow uploading an attachment with the same name as an existing
     page, to avoid confusion.
   * Split out error messages from editpage.tmpl into several separate
     templates.
   * attachment: Do not escape _ when determining attachment filenames.
   * Rebuild pages that change their type. (Gabriel McManus)
   * monotone: Add support for rename, delete, and also diff. (William Uther)
   * toggle: Fix incompatability between javascript and webkit.
   * bzr: Add support for rename and delete. (Jelmer Vernooij)
   * attachment: Use relative paths when inserting links.
   * toggle: Fix for when html got tidied. Closes: #492529 (Enrico Zini)
   * cutpaste: New plugin by Enrico Zini
Checksums-Sha1: 
 17e1c7c780764cae52f25cf13827371726cec3ff 1099 ikiwiki_2.55.dsc
 5df23432bb614059c390e24aae56368a73af9bab 891165 ikiwiki_2.55.tar.gz
 4a17183d316fccfaae32f926081073702e02c14d 753690 ikiwiki_2.55_all.deb
Checksums-Sha256: 
 c7ddfb2c43840c8696e4d08aa2b024b639d07ca45bc553ee68cce06179ecd35e 1099 
ikiwiki_2.55.dsc
 c5d72b798b4862663a586ad9fa3048ff94fbcae2da57d6c1c34effc3b7e3c5de 891165 
ikiwiki_2.55.tar.gz
 a21e7be8230c3127e63ceb1688ce8521e93fc95571a429bf6671d9cb788d0024 753690 
ikiwiki_2.55_all.deb
Files: 
 2f71f06638f1d87b87f6c8276d838e8a 1099 web optional ikiwiki_2.55.dsc
 b4ab0b86f8a184c333d565c48fbc233a 891165 web optional ikiwiki_2.55.tar.gz
 66bdc5dbac50947faca06b74f7af1cad 753690 web optional ikiwiki_2.55_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFIjJT02tp5zXiKP0wRAqtYAKCVke9g42BF+eFHLMj++udfas/OIgCdHbGQ
E2OkTBd4ecQhX8XnPWT/ewI=
=tQ3w
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to