Is it time to drop xhtml support?
"John P. Rouillard" <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Hello all:
When Roundup was developed in 2001, xhtml was a thing. These days
html5 is the standard. Is it time to drop support for xhtml?
If we drop it my plan is:
1) accept xhmtl as a valid value for html_version but log a warning
or error. Internally change the xhtml value to html4. In some
future version it will become an error and prevent roundup from
starting.
2) add html5 as a valid option for html_version. Treat
like html4 for now.
3) remove all code producing xhtml, remove tests for same.
4) Change code checking for xhtml and calling xhtml function to
check for html5 or html4 and call html4 variants for now.
5) update all templates to html5, including:
Update DOCTYPE to be html5 compatible <!DOCTYPE html>
Replace all <tag /> with <tag>
Remove =value from all boolean attributes
(Is there something else that needs to be done??)
(I believe an html5 doctype will work even if html4 is generated, does
anybody know if this is incorrect?)
Close https://issues.roundup-tracker.org/issue1881085 and open a new
issue for depreciation. Also open new issue for supporting html5 in
generated html.
Quips, comments, evasions, questions or answers appeciated.
--
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.