From f02368a8f9218c7aa5b1f60730aeb30a7a4f790e Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Sun, 16 Jan 2022 13:57:17 -0600 Subject: escape html reserved characters in text --- fsm.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/fsm.py b/fsm.py index b7439d1..eccfc6e 100644 --- a/fsm.py +++ b/fsm.py @@ -1,3 +1,4 @@ +import html import sys import urllib.parse @@ -62,18 +63,18 @@ class Parser(object): self._output.write('