From ad1489485583897062ea0018c2336326d2001f9c Mon Sep 17 00:00:00 2001 From: Andreas Koenig Date: Sun, 12 May 2013 09:49:40 +0200 Subject: [PATCH] * encoding utf8 * unescaped slash * =item followed by number --- lib/MojoMojo/Controller/Tag.pm | 4 ++-- lib/MojoMojo/Declaw.pm | 18 +++++++++--------- lib/MojoMojo/Formatter/WikipediaLink.pm | 2 ++ 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/lib/MojoMojo/Controller/Tag.pm b/lib/MojoMojo/Controller/Tag.pm index 376383a..db47bb4 100644 --- a/lib/MojoMojo/Controller/Tag.pm +++ b/lib/MojoMojo/Controller/Tag.pm @@ -25,7 +25,7 @@ tagged with a given tag. =head2 list This is a private action, and is dispatched from -L when supplied with a tag +L.list|MojoMojo::Controller::Page/list> when supplied with a tag argument. It will list all pages tagged with the given tag. =cut @@ -44,7 +44,7 @@ sub list : Private { =head2 recent This is a private action, and is dispatched from -L when supplied with a tag +L.recent|MojoMojo::Controller::Page/recent> when supplied with a tag argument. It will list recent pages tagged with the given tag. =cut diff --git a/lib/MojoMojo/Declaw.pm b/lib/MojoMojo/Declaw.pm index d2dec90..f0135dd 100644 --- a/lib/MojoMojo/Declaw.pm +++ b/lib/MojoMojo/Declaw.pm @@ -825,15 +825,15 @@ If $Defang->{tags_callback} exists, and HTML::Declaw has parsed a tag preset in =over 4 -=item 0 +=item I<0> The current tag will not be defanged. -=item 1 +=item I<1> The current tag will be defanged. -=item 2 +=item I<2> The current tag will be processed normally by HTML:Defang as if there was no callback method specified. @@ -867,15 +867,15 @@ See $AttributeHash for details of decoding. =over 4 -=item 0 +=item I<0> The current attribute will not be defanged. -=item 1 +=item I<1> The current attribute will be defanged. -=item 2 +=item I<2> The current attribute will be processed normally by HTML:Defang as if there was no callback method specified. @@ -912,15 +912,15 @@ rather than just a scalar value. You can add attributes (remember to make it a s =over 4 -=item 0 +=item I<0> The current URL will not be defanged. -=item 1 +=item I<1> The current URL will be defanged. -=item 2 +=item I<2> The current URL will be processed normally by HTML:Defang as if there was no callback method specified. diff --git a/lib/MojoMojo/Formatter/WikipediaLink.pm b/lib/MojoMojo/Formatter/WikipediaLink.pm index 6816af8..e5497da 100644 --- a/lib/MojoMojo/Formatter/WikipediaLink.pm +++ b/lib/MojoMojo/Formatter/WikipediaLink.pm @@ -4,6 +4,8 @@ use warnings; use parent qw/MojoMojo::Formatter/; use utf8; +=encoding utf8 + =head1 NAME MojoMojo::Formatter::WikipediaLink - Linked Wikipedia by writing {{wikipedia: }} -- 1.7.10.4