fixed newlines
This commit is contained in:
parent
111e3064c2
commit
a653b16a94
|
|
@ -71,6 +71,8 @@ class ProgressChain(BaseMongoModel):
|
||||||
for key, value in variables.items():
|
for key, value in variables.items():
|
||||||
action.text = action.text.replace(f"{{{{{key}}}}}", value)
|
action.text = action.text.replace(f"{{{{{key}}}}}", value)
|
||||||
|
|
||||||
|
action.text = action.text.replace("\n", "<br/>")
|
||||||
|
|
||||||
return ProgressChain(
|
return ProgressChain(
|
||||||
task_id=task_id,
|
task_id=task_id,
|
||||||
namespace_id=namespace_id,
|
namespace_id=namespace_id,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user