Skip to content

Commit

Permalink
Add more characters to the troublesome character dict
Browse files Browse the repository at this point in the history
  • Loading branch information
bethac07 authored and gnodar01 committed Jul 25, 2024
1 parent 26054ad commit 1f8f892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cellprofiler_core/module/_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def set_notes(self, notes):
"""Give the module new user-entered notes
"""
sanitization_dict = {"“":"\"","”":"\""}
sanitization_dict = {"“":"\"","”":"\"","—":"-","’":"'","`":"'"}
self.__notes = [''.join(sanitization_dict.get(x,x) for x in note) for note in notes]

notes = property(get_notes, set_notes)
Expand Down

0 comments on commit 1f8f892

Please sign in to comment.