libtext-typography-perl-0.01.orig/0000700000175000017500000000000010360634206016566 5ustar roktasroktaslibtext-typography-perl-0.01.orig/t/0000700000175000017500000000000010360634206017031 5ustar roktasroktaslibtext-typography-perl-0.01.orig/t/99pod.t0000600000175000017500000000026010360634206020162 0ustar roktasroktas#!/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.t0000600000175000017500000000021210360634206020147 0ustar roktasroktas#!/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/0000700000175000017500000000000010360634206017334 5ustar roktasroktaslibtext-typography-perl-0.01.orig/lib/Text/0000700000175000017500000000000010360634206020260 5ustar roktasroktaslibtext-typography-perl-0.01.orig/lib/Text/Typography.pm0000600000175000017500000005677110360634206023006 0ustar roktasroktaspackage 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<<