libtext-typography-perl-0.01.orig/ 0000700 0001750 0001750 00000000000 10360634206 016566 5 ustar roktas roktas libtext-typography-perl-0.01.orig/t/ 0000700 0001750 0001750 00000000000 10360634206 017031 5 ustar roktas roktas libtext-typography-perl-0.01.orig/t/99pod.t 0000600 0001750 0001750 00000000260 10360634206 020162 0 ustar roktas roktas #!/usr/bin/env perl use warnings; use strict; use Test::More; eval "use Test::Pod 1.14"; plan skip_all => "Test::Pod 1.14 required for testing POD" if $@; all_pod_files_ok(); libtext-typography-perl-0.01.orig/t/00use.t 0000600 0001750 0001750 00000000212 10360634206 020147 0 ustar roktas roktas #!/usr/bin/env perl use strict; use warnings; use Test::More tests => 1; BEGIN { use_ok('Text::Typography', qw(typography)); } __END__ libtext-typography-perl-0.01.orig/lib/ 0000700 0001750 0001750 00000000000 10360634206 017334 5 ustar roktas roktas libtext-typography-perl-0.01.orig/lib/Text/ 0000700 0001750 0001750 00000000000 10360634206 020260 5 ustar roktas roktas libtext-typography-perl-0.01.orig/lib/Text/Typography.pm 0000600 0001750 0001750 00000056771 10360634206 023006 0 ustar roktas roktas package Text::Typography; use strict; use warnings; use Exporter 'import'; use vars qw($VERSION @EXPORT_OK); $VERSION = '0.01'; @EXPORT_OK = qw(typography); =head1 NAME Text::Typography - Markup ASCII text with correct typography for HTML =head1 SYNOPSIS use Text::Typography qw(typography); print typography($text); =head1 DESCRIPTION This module is a thin wrapper for John Gruber's SmartyPants plugin for various CMSs. SmartyPants is a web publishing utility that translates plain ASCII punctuation characters into "smart" typographic punctuation HTML entities. SmartyPants can perform the following transformations: =over 4 =item * Straight quotes ( " and ' ) into "curly" quote HTML entities =item * Backticks-style quotes (``like this'') into "curly" quote HTML entities =item * Dashes (C<--> and C<--->) into en- and em-dash entities =item * Three consecutive dots (C<...>) into an ellipsis entity =back SmartyPants does not modify characters within C<<
>>, C<< >>,
C<< >>, C<<