From 2551cce6f72ac9c3ae9cd5683f1cd192d0b25cf6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 14 Oct 2018 18:24:40 +0200 Subject: [PATCH] doxygen: delimit inline CSS with a semicolon for consistency. --- doxygen/dox2html5.py | 4 ++-- doxygen/test/contents_image/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index 13d9fc9e..14933cd4 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -1052,9 +1052,9 @@ def parse_desc_internal(state: State, element: ET.Element, immediate_parent: ET. sizespec = '' if 'width' in i.attrib: - sizespec = ' style="width: {}"'.format(i.attrib['width']) + sizespec = ' style="width: {};"'.format(i.attrib['width']) elif 'height' in i.attrib: - sizespec = ' style="height: {}"'.format(i.attrib['height']) + sizespec = ' style="height: {};"'.format(i.attrib['height']) caption = i.text if caption: diff --git a/doxygen/test/contents_image/index.html b/doxygen/test/contents_image/index.html index 93394d5b..1902ddf3 100644 --- a/doxygen/test/contents_image/index.html +++ b/doxygen/test/contents_image/index.html @@ -22,7 +22,7 @@

My Project

-

Image:

Image

Figure:

Image
Caption

Explicit width:

Image

Explicit height and a caption:

Image
This is 64 pixels high.
+

Image:

Image

Figure:

Image
Caption

Explicit width:

Image

Explicit height and a caption:

Image
This is 64 pixels high.
-- 2.30.2