aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-08-21 01:54:18 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-08-21 01:54:18 +0200
commitc1380e39ba1ad3246555ad5249a38a9343af57c3 (patch)
treef9e0bc181f5746b2025f80d1c3dabf08ba55d6e3
parentf384d197fdbc2d8770cf8fa88b63ae9693818b02 (diff)
fix(frontend): Display unescaped comment text
-rw-r--r--src/frontend/tubo/components/comments.cljs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/tubo/components/comments.cljs b/src/frontend/tubo/components/comments.cljs
index a65b6d8..fb540ae 100644
--- a/src/frontend/tubo/components/comments.cljs
+++ b/src/frontend/tubo/components/comments.cljs
@@ -30,7 +30,7 @@
(when uploader-verified?
[:i.fa-solid.fa-circle-check.ml-2])]
[:div.my-2
- [:p text]]
+ [:p {:dangerouslySetInnerHTML {:__html text}}]]
[:div..flex.items-center.my-2
[:div.mr-4
[:p (util/format-date upload-date)]]