Fixed python filter html escaping
This commit is contained in:
parent
3a21f2c78a
commit
5f9095b472
@ -24,8 +24,11 @@ class RclExecM:
|
||||
sys.exit(exitvalue)
|
||||
|
||||
def htmlescape(self, txt):
|
||||
txt = txt.replace("<", "<")
|
||||
# This must stay first (it somehow had managed to skip after
|
||||
# the next line, with rather interesting results)
|
||||
txt = txt.replace("&", "&")
|
||||
|
||||
txt = txt.replace("<", "<")
|
||||
txt = txt.replace('"', "&dquot;")
|
||||
return txt
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user