in reply to Re: Text to HTML convert.
in thread Text to HTML convert.
HTML::FromText totally wrecks cyrillic letters =/. Seems, like I'll do it rather myself
Will keep You informed
Update:I managed to make it this way:
use HTML::FromText; use HTML::Entities; my $text=shift; my $t2h = HTML::FromText->new({ paras => 0, blockcode => 0, tables => 0, bullets => 0, numbers => 0, urls => 1, email => 1, bold => 0, underline => 0, metachars => 0, }); $text=encode_entities($text, '<>&"'); my $html=$t2h->parse($text);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Text to HTML convert.
by tachyon (Chancellor) on Oct 08, 2004 at 03:06 UTC |