This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
test/components/views/rooms/wysiwyg_composer Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ describe('message', () => {
6565 expect ( content ) . toEqual ( {
6666 "body" : "> <myfakeuser> Replying to this\n\n<i><b>hello</b> world</i>" ,
6767 "format" : "org.matrix.custom.html" ,
68- "formatted_body" : "<mx-reply><blockquote><a href=\"$$permalink$$\">In reply to</a> <a href=\"https://matrix.to/#/myfakeuser\">myfakeuser</a><br>Replying to this</blockquote></mx-reply><i><b>hello</b> world</i>" ,
68+ "formatted_body" : "<mx-reply><blockquote><a href=\"$$permalink$$\">In reply to</a>" +
69+ " <a href=\"https://matrix.to/#/myfakeuser\">myfakeuser</a>" +
70+ "<br>Replying to this</blockquote></mx-reply><i><b>hello</b> world</i>" ,
6971 "msgtype" : "m.text" ,
7072 "m.relates_to" : {
7173 "m.in_reply_to" : {
@@ -175,7 +177,9 @@ describe('message', () => {
175177 const expectedContent = {
176178 "body" : "> <myfakeuser2> My reply\n\n<i><b>hello</b> world</i>" ,
177179 "format" : "org.matrix.custom.html" ,
178- "formatted_body" : "<mx-reply><blockquote><a href=\"$$permalink$$\">In reply to</a> <a href=\"https://matrix.to/#/myfakeuser2\">myfakeuser2</a><br>My reply</blockquote></mx-reply><i><b>hello</b> world</i>" ,
180+ "formatted_body" : "<mx-reply><blockquote><a href=\"$$permalink$$\">In reply to</a>" +
181+ " <a href=\"https://matrix.to/#/myfakeuser2\">myfakeuser2</a>" +
182+ "<br>My reply</blockquote></mx-reply><i><b>hello</b> world</i>" ,
179183 "msgtype" : "m.text" ,
180184 "m.relates_to" : {
181185 "m.in_reply_to" : {
You can’t perform that action at this time.
0 commit comments