use strict; use warnings; use HTML::FromText; my $text = '< René & François >'; my $t2h = HTML::FromText->new( ); my $html = $t2h->parse( $text ); print $html;