Update website

This commit is contained in:
Guilhem Lavaux 2024-11-23 20:56:41 +01:00
parent 16eb641033
commit 8d8da33b9a

View File

@ -266,7 +266,7 @@ class Parser
*/ */
private function readTagName($char) private function readTagName($char)
{ {
if (preg_match('/^[a-zA-Z0-9_\+:\-\.\/\x{00C0}-\x{01FF}]$/u', $char)) { if (preg_match('/^[a-zA-Z0-9_\&\+:\-\.\/\x{00C0}-\x{01FF}]$/u', $char)) {
$this->appendToBuffer($char); $this->appendToBuffer($char);
} elseif ($this->isWhitespace($char) && empty($this->buffer)) { } elseif ($this->isWhitespace($char) && empty($this->buffer)) {
// Skips because we didn't start reading // Skips because we didn't start reading