I’ve created a pull request with the changes here:
It looks like they work perfectly to me! Great job! Give the PR a if it looks OK to you…the only thing I really changed was to remove the comments because the python to html library puts everything on one line which was making everything after the first comment a comment