This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 1 file changed +6
-2
lines changed
test/components/views/rooms/wysiwyg_composer
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ describe('message', () => {
65
65
expect ( content ) . toEqual ( {
66
66
"body" : "> <myfakeuser> Replying to this\n\n<i><b>hello</b> world</i>" ,
67
67
"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>" ,
69
71
"msgtype" : "m.text" ,
70
72
"m.relates_to" : {
71
73
"m.in_reply_to" : {
@@ -175,7 +177,9 @@ describe('message', () => {
175
177
const expectedContent = {
176
178
"body" : "> <myfakeuser2> My reply\n\n<i><b>hello</b> world</i>" ,
177
179
"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>" ,
179
183
"msgtype" : "m.text" ,
180
184
"m.relates_to" : {
181
185
"m.in_reply_to" : {
You can’t perform that action at this time.
0 commit comments