Fix leading spaces being collapsed in descriptions

Fixes #1954
This commit is contained in:
Samantaz Fox
2021-12-07 05:40:19 +01:00
parent 1769b0fdce
commit 6c8a5a1e7f
7 changed files with 11 additions and 16 deletions

View File

@@ -242,7 +242,7 @@ struct InvidiousPlaylist
end
def description_html
HTML.escape(self.description).gsub("\n", "<br>")
HTML.escape(self.description)
end
end