sub encode_entities_decimal { my $text = shift; $text =~ s{([^\0-\x7f])}{sprintf("&#%d;",ord($1))}ge; $text; }
In reply to Re^3: HTML::Treebuilder Special characters
by jai_dgl
in thread HTML::Treebuilder Special characters
by jai_dgl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |