You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rstml generator uses string <! DOCTYPE to start the doctype. This puts Firefox into quirks mode (I suspect also in Chrome but I haven't been able to confirm). It needs to be <!DOCTYPE (without the extra space).
The rstml generator uses string
<! DOCTYPE
to start the doctype. This puts Firefox into quirks mode (I suspect also in Chrome but I haven't been able to confirm). It needs to be<!DOCTYPE
(without the extra space).The generator code for it is here, I think:
https://github.com/vidhanio/hypertext/blob/b9d1d94766ecc4f1c4c3f13f663a41a3189a8b54/hypertext-macros/src/rstml.rs#L147C1-L147C29
Repro:
main.rs
:Generates output:
Which when loaded in Firefox produces a quirks-mode warning in the debug console.
The text was updated successfully, but these errors were encountered: