Your message dated Sun, 24 Sep 2006 10:17:03 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#387073: fixed in ikiwiki 1.27
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: ikiwiki
Version: 1.26
Severity: normal

It would be good if I could do something like

a[[template id=a]]b

where templates/a.mdwn contains

=== cut ===
a
=== cut ===

and have it come out as:

aab

unfortunately, ikiwiki appears to see the whitespace at the end of the
file (standard unix convention says all text files must end with a
newline), and the result is displayed as:

aa b

instead.

This is important, because in my situation I want to the following to
work:

text text text ([[template id=Source author=... title=... url=...
etc]]).

However, ikiwiki is likely to put whitespace before the last bracket.
This in turn allows the HTML browser to split the bracket onto a new
line and looks very messy.

Is it possible, perhaps for ikiwiki to ignore the newline at the end of
a template file?

(I think mediawiki does something like this - at least the previous
example works fine in mediawiki)

Thanks.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-486
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages ikiwiki depends on:
ii  gcc [c-compiler]             4:4.1.1-5   The GNU C compiler
ii  gcc-4.0 [c-compiler]         4.0.3-3     The GNU C compiler
ii  gcc-4.1 [c-compiler]         4.1.1-13    The GNU C compiler
ii  libc6-dev [libc-dev]         2.3.6.ds1-4 GNU C Library: Development Librari
ii  libcgi-formbuilder-perl      3.03.01-1   Easily generate and process statef
ii  libcgi-session-perl          4.14-1      Persistent session data in CGI app
ii  libhtml-parser-perl          3.55-1      A collection of modules that parse
ii  libhtml-scrubber-perl        0.08-3      Perl extension for scrubbing/sanit
ii  libhtml-template-perl        2.8-1       HTML::Template : A module for usin
ii  libmail-sendmail-perl        0.79-4      Send email from a perl script
ii  libtime-duration-perl        1.02-1      Time::Duration -- rounded or exact
ii  libtimedate-perl             1.1600-5    Time and date functions for Perl
ii  libxml-simple-perl           2.14-4      Perl module for reading and writin
ii  markdown                     1.0.1-3     Text-to-HTML conversion tool
ii  perl                         5.8.8-6.1   Larry Wall's Practical Extraction 

Versions of packages ikiwiki recommends:
ii  hyperestraier                 1.0.6-1    a full-text search system for comm
ii  subversion                    1.3.2-5+b1 Advanced version control system

-- no debconf information


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

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_1.27.dsc
  to pool/main/i/ikiwiki/ikiwiki_1.27.dsc
ikiwiki_1.27.tar.gz
  to pool/main/i/ikiwiki/ikiwiki_1.27.tar.gz
ikiwiki_1.27_all.deb
  to pool/main/i/ikiwiki/ikiwiki_1.27_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.7
Date: Sun, 24 Sep 2006 00:02:21 -0400
Source: ikiwiki
Binary: ikiwiki
Architecture: source all
Version: 1.27
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 ikiwiki    - a wiki compiler
Closes: 387073 388110
Changes: 
 ikiwiki (1.27) unstable; urgency=low
 .
   * Work on firming up the plugin interface:
     - Plugins should not need to load IkiWiki::Render to get commonly
       used functions, so moved some functions from there to IkiWiki.
     - Picked out the set of functions and variables that most plugins
       use, documented them, and made IkiWiki export them by default,
       like a proper perl module should.
     - Use the other functions at your own risk.
     - This is not quite complete, I still have to decide whether to
       export some other things.
   * Changed all plugins included in ikiwiki to not use "IkiWiki::" when
     referring to stuff now exported by the IkiWiki module.
   * Add a module version number to IkiWiki, so you can "use IkiWiki '1.00'"
     to declare which version of the interface your plugin needs.
   * Anyone with a third-party ikiwiki plugin is strongly encouraged
     to make like changes to it and avoid use of non-exported symbols from
     "IkiWiki::".
   * Link debian/changelog and debian/news to NEWS and CHANGELOG.
   * Support hyperestradier version 1.4.2, which adds a new required phraseform
     setting.
   * If an inlined page has a permalink, link the page title to that.
   * Patch from Recai to use utf8 when reading the setup file, so that
     utf8 wikinames from there will be used properly.
   * Patch from Recai to kill utf-8 on the wiki name when generating the
     session cookie.
   * Change ddate plugin to use the DateTime::Calendar::Discordian perl module.
   * Fix a baseurl problem in hyperestradier search results.
   * Add a stub local.css to avoid problems with 404's.
   * Patch from Recai to fix a wide character warning from the search plugin
     during setup if the wikiname contains utf8.
   * Yet another fix for those poor case-insensative OS X users.
   * pagetemplate hooks are now also called when generating cgi pages.
   * Add a favicon plugin, which simply adds a link tag for an icon to each
     page (and cgis).
   * Patch from James Westby to deal with the case where you're editing a
     new page, hit cancel, and need to be redirected to somewhere sane.
   * Various documentation improvements by various wiki users.
   * Support Text::Markdown from CPAN, which has a different interface from
     the original markdown or the one in Debian.
   * Version the libcgi-session-perl dependency, some features that need
     the new version are used in some cases (sslcookie).
   * Numerous tla fixes from Clint.
   * Updated ikiwiki.svgz from Recai, includes an icon and is used to generate
     a multi-resolution favicon.ico.
   * README.Debian: typo Closes: #388110
   * chomp trailing newline at the end of templates read in by the template
     plugin, to allow use of the template preprocessor directive in
     whitespace-sensative situations. Closes: #387073
   * Patch from James Westby to make the location of the estseek.cgi script
     configurable.
   * Add typography (SmartyPants) plugin by Recai.
   * Add --render mode, which can be used to preview an edit at the command
     line by test rendering a single page.
   * Add a googlecalendar plugin. A bit special-purpose, but it shows
     one way to to deal with user-supplied content that could cause XSS
     issues w/o the htmlscrubber, and won't survive the scrubber.
Files: 
 58467d87662f4dc9294d5ae8a841f9f7 649 web optional ikiwiki_1.27.dsc
 54878f9677b31ca9dfd4e87d1664a018 195845 web optional ikiwiki_1.27.tar.gz
 e343fe6edeb21a83bb38754142f4eec3 241580 web optional ikiwiki_1.27_all.deb

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

iD8DBQFFFrj72tp5zXiKP0wRAozWAKCuJRFNErZiiC0xD/Naio0OlElIAACgv6U8
FDgITATIjvSVQIevTODbcw4=
=wejQ
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to