Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/treetrek.git

Fixes html doctype tag

Author Dave Jarvis <email>
Date 2026-02-16 02:56:45 GMT-0800
Commit f34582f324ef95b99b5d0dd2d0112df4d100674f
Parent 7ad0c28
render/LanguageDefinitions.php
],
'xml' => [
- 'comment' => '/()/s',
+ 'comment' => '/()/',
'string' => '/' . $str . '/',
- 'tag' => '/(<\/?[a-zA-Z0-9:-]+|\s*\/?>|<\?xml|\?>)/',
+ 'tag' => '/(<\/?[!a-zA-Z0-9:-]+|\s*\/?>|<\?xml|\?>)/',
'attribute' => '/([a-zA-Z0-9:-]+)(?=\=)/',
],
'html' => [
- 'comment' => '/()/s',
+ 'comment' => '/()/',
'string' => '/' . $str . '/',
- 'tag' => '/(<\/?[a-zA-Z0-9:-]+|\s*\/?>)/',
+ 'tag' => '/(<\/?[!a-zA-Z0-9:-]+|\s*\/?>)/',
'attribute' => '/([a-zA-Z0-9:-]+)(?=\=)/',
],
Delta 4 lines added, 4 lines removed