From 5267b66a8822205187399290f44f27d720b01dda Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 4 Oct 2020 22:33:40 +0200 Subject: Matrix: add formatting to replies, fixes reply formatting on element mobile --- src/plugins/Plugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/Plugin.cpp') diff --git a/src/plugins/Plugin.cpp b/src/plugins/Plugin.cpp index 20c4b0a..c5726f1 100644 --- a/src/plugins/Plugin.cpp +++ b/src/plugins/Plugin.cpp @@ -39,7 +39,8 @@ namespace QuickMedia { HtmlEscapeSequence { '"', """ }, HtmlEscapeSequence { '\'', "'" }, HtmlEscapeSequence { '<', "<" }, - HtmlEscapeSequence { '>', ">" } + HtmlEscapeSequence { '>', ">" }, + HtmlEscapeSequence { '\n', "
" } }; for(const HtmlEscapeSequence &escape_sequence : escape_sequences) { -- cgit v1.2.3