Ticket #18765: formatting.php.diff
| File formatting.php.diff, 410 bytes (added by , 14 years ago) |
|---|
-
formatting.php
old new 2372 2372 * @return string 2373 2373 */ 2374 2374 function tag_escape($tag_name) { 2375 $safe_tag = strtolower( preg_replace('/[^a-zA-Z _:]/', '', $tag_name) );2375 $safe_tag = strtolower( preg_replace('/[^a-zA-Z0-9_:]/', '', $tag_name) ); 2376 2376 return apply_filters('tag_escape', $safe_tag, $tag_name); 2377 2377 } 2378 2378