Skip to content

Commit

Permalink
[Core] Bootylite: Clean delete non-breaking space.
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbestigrou committed May 18, 2011
1 parent ca7afb7 commit efa2d0d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion bootylite.conf
Expand Up @@ -14,7 +14,6 @@

footer => "Powered by <a href=\"http://gihub.com/memowe/bootylite\">Bootylite</a> on <a href=\"http://mojolicio.us/\">Mojolicious::Lite</a> on <a href=\"http://perl.org/\">Perl</a>",


date_format => '%D %T',

articles_per_page => 4,
Expand Down
4 changes: 2 additions & 2 deletions lib/Bootylite.pm
Expand Up @@ -64,7 +64,7 @@ sub _build_renderers {
# search for renderers
my $loader = Mojo::Loader->new;
my $renderers = $loader->search('Bootylite::Renderer');

# build renderers
my %renderer;
foreach my $r (@$renderers) {
Expand All @@ -76,7 +76,7 @@ sub _build_renderers {
# really a renderer?
my $renderer = $r->new;
next unless $r->isa('Bootylite::Renderer');

# register
my $ext = lc $renderer->extension;
$renderer{$ext} = $renderer;
Expand Down
2 changes: 1 addition & 1 deletion lib/Bootylite/Article.pm
Expand Up @@ -63,7 +63,7 @@ sub _build_and_inject_content_data {
(.*) # second part
)? # end of optional second part
\z/smx;

# build
my $first = $1;
my $separator = $2;
Expand Down
2 changes: 1 addition & 1 deletion lib/Bootylite/Renderer/HTML.pm
@@ -1,6 +1,6 @@
package Bootylite::Renderer::HTML;

use Mojo::Base 'Bootylite::Renderer';
use Mojo::Base 'Bootylite::Renderer';

has extension => 'html';

Expand Down
2 changes: 1 addition & 1 deletion lib/Bootylite/Renderer/Markdown.pm
@@ -1,6 +1,6 @@
package Bootylite::Renderer::Markdown;

use Mojo::Base 'Bootylite::Renderer';
use Mojo::Base 'Bootylite::Renderer';
use Text::Markdown;

has extension => 'md';
Expand Down

0 comments on commit efa2d0d

Please sign in to comment.