Loading cgi/index.pl +3 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ use Mojolicious::Lite; use Cache::File; use Travel::Status::DE::DeutscheBahn; use 5.014; use utf8; our $VERSION = '0.03'; Loading Loading @@ -85,7 +87,7 @@ sub handle_request { $info = undef; } if ($info) { $info =~ s{ ^ (?: ca\. \s* )? \+ (\d+) }{Verspaetung ca. $1 Minuten}x; $info =~ s{ ^ (?: ca\. \s* )? \+ (\d+) }{Verspätung ca. $1 Minuten}x; $info =~ s{ 1 \s Minute\Kn }{}x; } push( Loading cgi/templates/layouts/default.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title><%= $title %></title> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> <style type="text/css"> html { Loading Loading
cgi/index.pl +3 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ use Mojolicious::Lite; use Cache::File; use Travel::Status::DE::DeutscheBahn; use 5.014; use utf8; our $VERSION = '0.03'; Loading Loading @@ -85,7 +87,7 @@ sub handle_request { $info = undef; } if ($info) { $info =~ s{ ^ (?: ca\. \s* )? \+ (\d+) }{Verspaetung ca. $1 Minuten}x; $info =~ s{ ^ (?: ca\. \s* )? \+ (\d+) }{Verspätung ca. $1 Minuten}x; $info =~ s{ 1 \s Minute\Kn }{}x; } push( Loading
cgi/templates/layouts/default.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title><%= $title %></title> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> <style type="text/css"> html { Loading