Skip to content

Commit f9ea933

Browse files
committed
Make custom OGP meta tags self-closing
For EPUB builds validity.
1 parent 1a9a409 commit f9ea933

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,7 @@
634634
# Define a static preview image when not creating social cards
635635
ogp_image = '_static/og-image.png'
636636
ogp_custom_meta_tags = [
637-
'<meta property="og:image:width" content="200">',
638-
'<meta property="og:image:height" content="200">',
637+
# Self-closing for EPUB validity
638+
'<meta property="og:image:width" content="200" />',
639+
'<meta property="og:image:height" content="200" />',
639640
]

0 commit comments

Comments
 (0)