Ignore:
Timestamp:
Jun 2, 2004, 8:05:05 PM (17 years ago)
Author:
kake
Message:

0.12 - Indentation causes <pre>.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cgi-wiki-formatter-usemod/trunk/lib/CGI/Wiki/Formatter/UseMod.pm

    r130 r131  
    44
    55use vars qw( $VERSION @_links_found );
    6 $VERSION = '0.11';
     6$VERSION = '0.12';
    77
    88use URI::Escape;
     
    241241                         ordered         => qr/^\s*([\d]+)\.\s*/,
    242242                         unordered       => qr/^\s*\*\s*/,
    243                          definition      => qr/^:\s*/
     243                         definition      => qr/^:\s*/,
     244                         pre             => qr/^\s+/
    244245                                    },
    245246        definition               => [ "<dl>\n", "</dl>\n", "<dt><dd>", "\n" ],
     247        pre                      => [ "<pre>\n", "</pre>\n", "", "\n" ],
    246248        # we don't label unordered lists as "not indented" so we can nest them.
    247249        indented   => {
    248250                        definition => 0,
    249                         ordered    => 0
     251                        ordered    => 0,
     252                        pre        => 0,
    250253                       },
    251         blockorder => [ qw( header line ordered unordered code definition paragraph )],
     254        blockorder => [ qw( header line ordered unordered code definition pre paragraph )],
    252255        nests      => { map { $_ => 1} qw( ordered unordered ) },
    253256        link                     => sub {
     
    430433=head1 COPYRIGHT
    431434
    432      Copyright (C) 2003 Kake Pugh.  All Rights Reserved.
     435     Copyright (C) 2003-2004 Kake Pugh.  All Rights Reserved.
    433436
    434437This module is free software; you can redistribute it and/or modify it
     
    444447
    445448This doesn't yet support all of UseMod's formatting features and
    446 options, by any means.  This really truly I<is> a 0.0* release. Please
     449options, by any means.  This really truly I<is> a 0.* release. Please
    447450send bug reports, omissions, patches, and stuff, to me at
    448451C<kake@earth.li>.
Note: See TracChangeset for help on using the changeset viewer.