Skip to content

Commit

Permalink
Merge pull request #7310 from erasche/fix-emoji-tags
Browse files Browse the repository at this point in the history
[19.01] Fix emoji tags
  • Loading branch information
martenson committed Feb 6, 2019
2 parents c4fbe94 + dd91709 commit e3f1234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/util/__init__.py
Expand Up @@ -1058,7 +1058,7 @@ def smart_str(s, encoding=DEFAULT_ENCODING, strings_only=False, errors='strict')

def strip_control_characters(s):
"""Strip unicode control characters from a string."""
return "".join(c for c in unicodify(s) if unicodedata.category(c)[0] != "C")
return "".join(c for c in unicodify(s) if unicodedata.category(c) != "Cc")


def strip_control_characters_nested(item):
Expand Down

0 comments on commit e3f1234

Please sign in to comment.