Menu

#398 `<link rel="schema.dcterms">` tag is not closed

None
closed-fixed
nobody
HTML writer (9)
2021-04-03
2020-07-17
No

When using either the HTML4 writer or HTML5 writer, if any <meta> tags are added to the document with a name attribute that starts with "dcterms.", then the writer (in the depart_document() method of both docutils.writers._html_base.HTMLTranslator and, in the current Subversion snapshot, docutils.writers.html5_polyglot.HTMLTranslator) will add the following tag to the document <head>:

<link rel="schema.dcterms" href="http://purl.org/dc/terms/">

However, this link is not properly closed (It should end with />), and so any document containing it will not be valid XML.

Discussion

  • Günter Milde

    Günter Milde - 2020-07-18
    • status: open --> open-fixed
     
  • Günter Milde

    Günter Milde - 2020-07-18

    Fixed in r8528.
    Thank you for reporting.

     
  • Günter Milde

    Günter Milde - 2021-04-03
    • status: open-fixed --> closed-fixed
     
  • Günter Milde

    Günter Milde - 2021-04-03

    Fixed in Docutils 0.17.
    Thanks again for the report.

     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.