All pastes #2689054 Raw Edit

Mine

public unlisted text v1 · immutable
#2689054 ·published 2014-03-30 09:37 UTC
rendered paste body
                if ($constants->{draconian_charrefs}) {
                        if (!$constants->{good_entity}{$entity}) {
                                if (defined $entity2char{$entity}) {
                                        $decimal = ord $entity2char{$entity};
                                        $ok = $ansi_to_ascii{$decimal} ? 2 : 0;
                                } else {
                                        $ok = 0;
                                }
                        }
                } else {
                        $ok = 0 if $constants->{bad_entity}{$entity}
                                || ($constants->{draconian_charset} && ! exists $entity2char{$entity});
                }