From 60f37ebeb130bd58adece6bee06420b40c4e5a05 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 9 Nov 2022 18:49:00 +0100 Subject: Matrix: reply body formatting shouldn't have html, formatted body should be pure html. Dont display urls in codeblocks --- src/plugins/Fourchan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/Fourchan.cpp') diff --git a/src/plugins/Fourchan.cpp b/src/plugins/Fourchan.cpp index c58d942..4a9d2d7 100644 --- a/src/plugins/Fourchan.cpp +++ b/src/plugins/Fourchan.cpp @@ -291,7 +291,7 @@ namespace QuickMedia { break; case CommentPiece::Type::CODEBLOCK: // TODO: Use a different colored background - comment_text += Text::formatted_text(std::move(cp.text), mgl::Color(255, 255, 255, 255), FORMATTED_TEXT_FLAG_MONOSPACE); + comment_text += Text::formatted_text(std::move(cp.text), mgl::Color(255, 255, 255, 255), FORMATTED_TEXT_FLAG_CODE); break; } }); -- cgit v1.2.3