Skip to content

Commit

Permalink
Stop escaping quotes in docstring generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cirras committed Nov 14, 2024
1 parent 33d582d commit 07298c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol_code_generator/util/docstring_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def generate_docstring(protocol_comment, notes=[]):
lines = []

if protocol_comment:
lines.extend(map(str.strip, escape(protocol_comment).split('\n')))
lines.extend(map(str.strip, escape(protocol_comment, quote=False).split('\n')))

if notes:
if lines:
Expand Down

0 comments on commit 07298c8

Please sign in to comment.