This repository has been archived on 2020-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
cgi-pw_manager/functions/htmlsyntaxfc.py

9 lines
144 B
Python

#!/usr/bin/python3.5
import re
def htmlsyntax(DATA):
DATA = re.sub('<', '&lt', DATA)
DATA = re.sub('>', '&gt', DATA)
return(DATA)