fix(route): fix misskey template when text is null (#11906)

This commit is contained in:
欠陥電気
2023-02-18 22:42:38 +08:00
committed by GitHub
parent 7b755ea2cc
commit f0f3ece916
+3 -1
View File
@@ -1,4 +1,6 @@
{{ text.replace(/\n/g, '<br>') }}
{{ if text }}
<p>{{ text.replace(/\n/g, '<br>') }}</p>
{{ /if }}
{{ each files file }}
<br>