Closed Robpol86 closed 2 years ago
While working on another PR I ran into this bug on my test website. I had a test document with only an HTML code block and found out unescaped HTML was added to the meta tag:
<meta property="og:description" content="<meta property="og:image" content="_images/normal.jpg" /> <img alt="_images/normal.jpg" src="_images/normal.jpg" />" /> <meta property="og:image" content="_images/normal.jpg" />
Fixing this by skipping literal blocks.
Also fixed docs build. I was getting the exception: AttributeError: 'Values' object has no attribute 'section_self_link'
AttributeError: 'Values' object has no attribute 'section_self_link'
This was caused by https://github.com/sphinx-doc/sphinx/issues/9825. Updating dependencies fixed the issue.
While working on another PR I ran into this bug on my test website. I had a test document with only an HTML code block and found out unescaped HTML was added to the meta tag:
Fixing this by skipping literal blocks.
Also fixed docs build. I was getting the exception:
AttributeError: 'Values' object has no attribute 'section_self_link'
This was caused by https://github.com/sphinx-doc/sphinx/issues/9825. Updating dependencies fixed the issue.