Ticket #1484253: diff.txt

File diff.txt, 203 bytes (added by bumpus, 2 years ago)

Small change to regex in main.inc

Line 
11035c1035
2<     $out = preg_replace('/&amp;([a-z]{2,5}|#\\d{2,3});/', '&${1};', strtr($str, $encode_arr));
3---
4>     $out = preg_replace('/&amp;([a-z]{2,5});/', '&\\1;', strtr($str, $encode_arr));
5