Escape String untuk HTML Python
import html
s = '<p>&<\p>'
e = html.escape(s) # = '<p>&<\p>'
Worried Wolf
import html
s = '<p>&<\p>'
e = html.escape(s) # = '<p>&<\p>'