From 6d19cb1acb17027d2dc1e5ad480cafd72986e75f Mon Sep 17 00:00:00 2001 From: Kuba Suder Date: Wed, 10 Jan 2024 23:16:46 +0200 Subject: [PATCH] added a class name to the post body element --- post_component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post_component.js b/post_component.js index 51ee05e..fb9661b 100644 --- a/post_component.js +++ b/post_component.js @@ -100,7 +100,7 @@ class PostComponent { wrapper = content; } - let p = $tag('p', { text: this.post.text }); + let p = $tag('p.body', { text: this.post.text }); this.linkifyPostBody(p); wrapper.appendChild(p); -- 2.51.2