Do the right thing with encoding output to avoid 'wide character in syswrite. Change...
Tomas Doran [Sat, 21 Nov 2009 09:48:29 +0000 (09:48 +0000)]
Makefile.PL
lib/Gitalist.pm
root/_shortlog.tt2

index 20d6539..9b8074e 100644 (file)
@@ -21,6 +21,7 @@ requires 'Catalyst::Runtime' => '5.80003';
 requires 'Catalyst::Plugin::ConfigLoader';
 requires 'Catalyst::Plugin::StackTrace';
 requires 'Catalyst::Plugin::Static::Simple';
+requires 'Catalyst::Plugin::Unicode::Encoding';
 requires 'Catalyst::Action::RenderView';
 requires 'Catalyst::Component::InstancePerContext';
 requires 'Catalyst::View::TT';
index 9ca78a7..84a9980 100644 (file)
@@ -8,8 +8,10 @@ extends 'Catalyst';
 
 use Catalyst qw/
                 ConfigLoader
+                Unicode::Encoding
                 Static::Simple
-                StackTrace/;
+                StackTrace
+/;
 
 our $VERSION = '0.01';
 
index fc39b11..19caaf1 100644 (file)
@@ -26,7 +26,7 @@
    <td class='time-since' title='[% line.authored_time %]'>[% time_since(line.authored_time) %]</td>
    <td class='author'>[% line.author.name | html %]</td>
    <td>
-     [% short_cmt(line.comment) | html_entity %]
+     [% short_cmt(line.comment) | html %]
      [% INCLUDE '_refs.tt2' object = line %]
    </td>
    <td class='action-list'>