Datatables downloader doesn't pass W3C validator

Datatables downloader doesn't pass W3C validator

cclarkcclark Posts: 7Questions: 3Answers: 0
edited July 2023 in Free community support

I've just found this library. It's so impressive. Thank you for all you do for creating and maintaining it.

I just want to let you know about a minor issue. The download page generates invalid html, as follows:

<link href="https://cdn.datatables.net/1.13.5/css/jquery.dataTables.min.css" rel="stylesheet"/>

You can check it in the W3C HTML Validator, which returns, "Trailing slash on void elements has no effect and interacts badly with unquoted attribute values". It would be nice not to have to remove these slashes to get clean validator results.

All the best
CC

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,508Questions: 1Answers: 10,471 Site admin
    Answer ✓

    Thank you for your kind words and noting that error. I think that comes from back in the good old XHTML days...

    They are long gone now, so I've updated the download page to give the short tag without it self closing for link.

    Regards,
    Allan

  • cclarkcclark Posts: 7Questions: 3Answers: 0

    Nice one, Allan! Thanks for everything!

Sign In or Register to comment.