Skip to content

Commit

Permalink
Bugfix: escape XML tags not detected as placeables
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjazz committed May 4, 2015
1 parent 14b93ef commit dc1b586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pontoon/base/utils.py
Expand Up @@ -184,7 +184,7 @@ class SpacesPlaceable(base.Ph):

# Not a placeable: skip
else:
output += unicode(item)
output += unicode(item).replace('<', '&lt;').replace('>', '&gt;')

return output

Expand Down

0 comments on commit dc1b586

Please sign in to comment.