Skip to content

Commit

Permalink
remove the newline when adding breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmelville-gds authored Jun 6, 2023
1 parent 42f9b27 commit 77e199a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudformation_docs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def add_breaks(text):
#
# In future we will remove cfn-flip and support multiline in yaml so leaving it in

return "\n".join([line+" <br>" for line in text.splitlines()])
return "".join([line+" <br>" for line in text.splitlines()])

func_dict = {
"add_breaks": add_breaks
Expand Down

0 comments on commit 77e199a

Please sign in to comment.