Your message dated Sat, 06 Sep 2008 02:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#492529: fixed in ikiwiki 2.53.1
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.53.1

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.53.1.dsc
  to pool/main/i/ikiwiki/ikiwiki_2.53.1.dsc
ikiwiki_2.53.1.tar.gz
  to pool/main/i/ikiwiki/ikiwiki_2.53.1.tar.gz
ikiwiki_2.53.1_all.deb
  to pool/main/i/ikiwiki/ikiwiki_2.53.1_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: Fri, 05 Sep 2008 20:55:53 -0400
Source: ikiwiki
Binary: ikiwiki
Architecture: source all
Version: 2.53.1
Distribution: testing-proposed-updates
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 ikiwiki    - a wiki compiler
Closes: 492529 497444
Changes: 
 ikiwiki (2.53.1) testing-proposed-updates; urgency=low
 .
   * Backported all relevant bug fixes from mainline to debian testing.
   * ikiwiki-transition: Fix command-line processing so the prefix_directives
     transition works again.
   * 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.
   * smileys: Some fixes for escaped smileys.
   * smileys: Note that smileys need to be double-escaped for the escaping to
     work. Markdown removes one level of escaping.
   * Add a postscan hook.
   * search: Use postscan hook, avoid updating index when previewing.
   * search: Fixes for title stemming, and use better term for tags.
     (Gabriel McManus)
     (Rebuilding the wiki on upgrade to this version is recommended if you
     use the search plugin.)
   * meta: fix title() PageSpec (DOS). Closes: #497444
   * Really fix bug with links to pages with names containing colons.
     Previous fix mised a few cases.
   * toggle: Fix incompatability between javascript and webkit.
   * toggle: Fix for when html got tidied. Closes: #492529 (Enrico Zini)
   * inline: Ignore parent dirs when sorting pages by title.
   * external: Fix support for hooks called in an array context.
   * edittemplate: Don't wipe out edits on preview.
   * map: The fix for #449285 was buggy and broke display of parents in certian
     circumstances.
   * Work around perl $_ scoping nonsense that caused breakage when loading
     external plugins.
Checksums-Sha1: 
 d48660bfa2325c03783bd7a2780a3a77d161705f 1095 ikiwiki_2.53.1.dsc
 cc07047595a137cdd38dc907c63fce36998d0b3b 773791 ikiwiki_2.53.1.tar.gz
 d31308369962a60cf1081d7c576b18738cb363cc 921684 ikiwiki_2.53.1_all.deb
Checksums-Sha256: 
 eeb65ba930e47429c149d9d24e55f55491445961bd780e727de7636ddd24e7c6 1095 
ikiwiki_2.53.1.dsc
 ed7cc692121bf6d8709cd283f379c7477e227440a41fa59d99194f5030a8c96e 773791 
ikiwiki_2.53.1.tar.gz
 188e66ff9bc3e3ed49b998b534b04d2130a9324b0e5bb95295d8a811f48097be 921684 
ikiwiki_2.53.1_all.deb
Files: 
 686206e61510eecb12a132700c9f54b1 1095 web optional ikiwiki_2.53.1.dsc
 fcd0387eb654c1c9f5ce7df00b776ba3 773791 web optional ikiwiki_2.53.1.tar.gz
 27e98944f9bd617a91954b8c719ac26c 921684 web optional ikiwiki_2.53.1_all.deb

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

iD8DBQFIweiN2tp5zXiKP0wRAubJAKDNMZEdvZMWFGF2MlLu5SIq3endHwCfQ4Ja
xq9lT2rRC3bynETC5+03b2I=
=SwGw
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to