Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mojomojo::formatter::textile(3pm) [debian man page]

MojoMojo::Formatter::Textile(3pm)			User Contributed Perl Documentation			 MojoMojo::Formatter::Textile(3pm)

NAME
MojoMojo::Formatter::Textile - Texile+SmartyPants formatting for your content DESCRIPTION
This formatter processes content using Text::Textile (a syntax for writing human-friendly formatted text), then post-processes that using Text::SmartyPants (which transforms plain ASCII punctuation characters into "smart" typographic punctuation HTML entities, such as smart quotes or the ellipsis character). Textile reference: <http://hobix.com/textile/> METHODS
main_format_content Calls the formatter. Takes a ref to the content as well as the context object. Note that this is different from the format_content method of non-main formatters. This is because we don't want all main formatters to be called when iterating over pluggable modules in MojoMojo::Schema::ResultSet::Content::format_content. "main_format_content" will only be called by <MojoMojo::Formatter::Main>. SEE ALSO
MojoMojo, Module::Pluggable::Ordered, Text::Textile AUTHORS
Marcus Ramberg <mramberg@cpan.org> LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-04-07 MojoMojo::Formatter::Textile(3pm)

Check Out this Related Man Page

MojoMojo::Formatter::Defang(3pm)			User Contributed Perl Documentation			  MojoMojo::Formatter::Defang(3pm)

NAME
MojoMojo::Formatter::Defang - Scrub user HTML and XSS DESCRIPTION
This formatter makes sure only a safe range of tags are allowed, using MojoMojo::Defang; It also tries to remove XSS attempts. METHODS
format_content_order Format order can be 1-99. The Defang formatter runs on 16, just after the main formatter, in order to catch direct user input. Defang trusts the main formatter and all subsequently ran plugins to not output unsafe HTML. defang_tags_callback Callback for custom handling specific HTML tags defang_url_callback Callback for custom handling URLs in HTML attributes as well as styletag/attribute declarations defang_css_callback Callback for custom handling style tags/attributes. defang_attribs_callback Callback for custom handling HTML tag attributes. format_content Calls the formatter. Takes a ref to the content as well as the context object. SEE ALSO
MojoMojo, Module::Pluggable::Ordered, MojoMojo::Defang AUTHORS
Marcus Ramberg <mramberg@cpan.org> LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-05-23 MojoMojo::Formatter::Defang(3pm)
Man Page

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sort content of text file based on date?

I now have a 230,000+ lines long text file formatted in segments like this: Is there a way to sort this file to have everything in chronological order, based on the date and time in the text? In this example, I would like the result to be: (19 Replies)
Discussion started by: KidCactus
19 Replies

2. UNIX for Dummies Questions & Answers

How To Use sed To Remove Text Between '/*'?

First of all let it be said that I hate sed. Every time I think I've got it figured out it proves me wrong. There, now with that out of the way here's my problem that I'm hoping one of you smart people can solve: I have a file full of lines like this: If x=1 then /* this is an if statement */... (10 Replies)
Discussion started by: Korn0474
10 Replies