Open designermonkey opened 11 years ago
I don't see the problem. Do you say that namespaces are not allowed in HTML5?
They don't validate without the xmlns
on the html
tag.
Do you say that namespaces are not allowed in HTML5?
I'm not going to say that again. o_O
Well, you are right. I just did some research on the matter. So it sounds like a good idea, if you really want HTML5 to validate. :-)
(I myself am somehow disappointed by the fact that it doesn't need to validate. So why should I try?)
I somehow feel bad about changing the extension just because someone invents his own namespaces. Can you give an example of FB namespaces that are useful to a document???
None. There are no useful Facebook anythings.
Just thought that it might be useful to some.
So shouldn't we wait for a useful example before hacking the extension? :-)
Or we could hack it and make it available as an alternate branch: xhtml5
Bonza!
:-)
I've been reading a lot more about XHTML, polyglot syntax, HTML5 etc etc, and it is correct to leave the xmlns
attribute at least, as we are using a system that deals with XML to output HTML5, we should definitely change the behaviour of this extension.
Personally, I would now just make the change without any kind of choice, but in favour of not ruffling feathers, it should be a choice in the preferences.
I will make the change in a branch, and ask for support before merging.
Nope, the work was already done.
I've been away too long :(
We should have a switch to allow the use of
XHTML5
The above is valid markup for
XHTML5
and allows the use of namespaces in theHTML
. This has been an issue raised on the forum for how to use namespaces like the (horrible) Facebook ones inHTML5
.A switch in the Preferences page would allow a choice in output, and would switch regular expressions.