fix: accept either quote character in the XML declaration

This commit is contained in:
randogoth 2026-10-11 20:50:48 +03:00
parent d4b90a3947
commit f54d350216
3 changed files with 18 additions and 2 deletions

View file

@ -41,7 +41,7 @@ A Mews page MUST be a well-formed, valid XHTML-MP 1.2 document that also follows
### 3.1 Prologue and doctype
A Mews page MUST begin with an XML declaration specifying UTF-8, followed by the XHTML-MP 1.2 doctype:
A Mews page MUST begin with an XML declaration specifying UTF-8, followed by the XHTML-MP 1.2 doctype. Either quote character may be used in the declaration, as XML allows:
```xml
<?xml version="1.0" encoding="UTF-8"?>