Skip to content

Commit

Permalink
Fix function
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed Dec 17, 2019
1 parent 81c2344 commit ba81382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/libeoaconvert.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,11 +469,11 @@ def restore_xml_tags(text):
def escape_xml(text):
"""Convert xml markup to entities"""

replacements = {
replacements = {
"<" : "&lt;" ,
">" : "&gt;",
"'" : "&apos;",
"&" : "&amp;"
"&" : "&amp;",
'"' : "&quot;",
}

Expand Down

0 comments on commit ba81382

Please sign in to comment.