@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | // Set a list of common functions. |
108 | 108 | $ent_list = '&(?:#' . (empty($modSettings['disableEntityCheck']) ? '\d{1,7}' : '021') . '|quot|amp|lt|gt|nbsp);'; |
109 | 109 | $ent_check = empty($modSettings['disableEntityCheck']) ? function($string) |
110 | - { |
|
110 | + { |
|
111 | 111 | $string = preg_replace_callback('~(&#(\d{1,7}|x[0-9a-fA-F]{1,6});)~', 'entity_fix__callback', (string) $string); |
112 | 112 | return $string; |
113 | 113 | } : function($string) |
@@ -2422,7 +2422,6 @@ discard block |
||
2422 | 2422 | loadLanguage('index+Modifications'); |
2423 | 2423 | $context['template_layers'] = array(); |
2424 | 2424 | } |
2425 | - |
|
2426 | 2425 | else |
2427 | 2426 | { |
2428 | 2427 | // Custom templates to load, or just default? |