Fix typo picked up by mypy
1 files changed, 6 insertions(+), 2 deletions(-)

M htmltextconvert/convert.py
M htmltextconvert/convert.py +6 -2
@@ 82,7 82,7 @@ def is_block(tag: str) -> bool:
 def stream_to_html(stream: Iterable) -> str:
     """
     Render a stream produced by
-    :class:htmlconvertext.htmlstreamer.HTMLStreamer` back into an HTMl
+    :class:htmlconvertext.htmlstreamer.HTMLStreamer` back into an HTML
     document.
     """
     buf: List[str] = []

          
@@ 91,7 91,11 @@ def stream_to_html(stream: Iterable) -> 
         if type_ in {HTMLStreamer.START, HTMLStreamer.STARTEND}:
             tag, attrs = data
             write(f"<{tag}")
-            write("".join(' {k}="{v}"'.format(k, escape(v)) for k, v in attrs))
+            write(
+                "".join(
+                    ' {k}="{v}"'.format(k=k, v=escape(v)) for k, v in attrs
+                )
+            )
             if type_ == HTMLStreamer.STARTEND:
                 write("/>")
             else: