|
From: <mi...@us...> - 2020-07-18 14:43:09
|
Revision: 8528
http://sourceforge.net/p/docutils/code/8528
Author: milde
Date: 2020-07-18 14:43:06 +0000 (Sat, 18 Jul 2020)
Log Message:
-----------
Fix #398: properly close link tag to "schema.dcterms".
Modified Paths:
--------------
trunk/docutils/HISTORY.txt
trunk/docutils/docutils/writers/html5_polyglot/__init__.py
Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt 2020-07-14 16:41:15 UTC (rev 8527)
+++ trunk/docutils/HISTORY.txt 2020-07-18 14:43:06 UTC (rev 8528)
@@ -63,6 +63,8 @@
- Wrap block-level image elements in <p> (except for figures).
Move non-essential styling from ``minimal.css`` to ``plain.css``.
Support numbered figures in ``plain.css``.
+
+ - Fix #398: properly close link tag to "schema.dcterms".
* docutils/writers/latex2e/__init__.py:
Modified: trunk/docutils/docutils/writers/html5_polyglot/__init__.py
===================================================================
--- trunk/docutils/docutils/writers/html5_polyglot/__init__.py 2020-07-14 16:41:15 UTC (rev 8527)
+++ trunk/docutils/docutils/writers/html5_polyglot/__init__.py 2020-07-18 14:43:06 UTC (rev 8528)
@@ -235,7 +235,7 @@
self.head.insert(0, self.content_type % self.settings.output_encoding)
if 'name="dcterms.' in ''.join(self.meta):
self.head.append(
- '<link rel="schema.dcterms" href="http://purl.org/dc/terms/">')
+ '<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>')
if self.math_header:
if self.math_output == 'mathjax':
self.head.extend(self.math_header)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|