1 parent 3606dbe commit d4ebbe4Copy full SHA for d4ebbe4
1 file changed
ietf/utils/hedgedoc.py
@@ -95,8 +95,8 @@ def de_gfm(source: str):
95
Calls de-gfm from the kramdown-rfc2629 gem.
96
"""
97
result = subprocess.run(
98
- [settings.DE_GFM_BINARY,],
99
- stdout=subprocess.PIPE, # post-Python 3.7, this can be replaced with capture_output=True
+ [settings.DE_GFM_BINARY, "-4"],
+ capture_output=True,
100
input=source,
101
encoding='utf8',
102
check=True,
@@ -123,4 +123,4 @@ class NoteNotFound(NoteError):
123
124
125
class InvalidNote(NoteError):
126
- default_message = 'Note data invalid'
+ default_message = 'Note data invalid'
0 commit comments