diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-11-09 18:49:00 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-11-09 18:49:00 +0100 |
commit | 60f37ebeb130bd58adece6bee06420b40c4e5a05 (patch) | |
tree | 554fc8839bba69e2a51b4862b292953640ee5eff /src/plugins/Fourchan.cpp | |
parent | deb32bded40c4c46ce57c729c303edcb1915458b (diff) |
Matrix: reply body formatting shouldn't have html, formatted body should be pure html. Dont display urls in codeblocks
Diffstat (limited to 'src/plugins/Fourchan.cpp')
-rw-r--r-- | src/plugins/Fourchan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } }); |