Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.

Patch by Julien Palard.
diff --git a/Doc/library/htmlparser.rst b/Doc/library/htmlparser.rst
index e73ce07..6740b43 100644
--- a/Doc/library/htmlparser.rst
+++ b/Doc/library/htmlparser.rst
@@ -78,7 +78,9 @@
    parser.feed('<html><head><title>Test</title></head>'
                '<body><h1>Parse me!</h1></body></html>')
 
-The output will then be::
+The output will then be:
+
+.. code-block:: none
 
    Encountered a start tag: html
    Encountered a start tag: head