@@ -81,7 +81,7 @@ export default class ReplyThread extends React.Component {
81
81
82
82
// Part of Replies fallback support
83
83
static stripHTMLReply ( html ) {
84
- return html . replace ( / ^ < b l o c k q u o t e d a t a - m x - r e p l y > [ \s \S ] + ?< ! - - e n d - m x - r e p l y - - > < \/ b l o c k q u o t e > / , '' ) ;
84
+ return html . replace ( / ^ < m x - r e p l y > [ \s \S ] + ?< \/ m x - r e p l y > / , '' ) ;
85
85
}
86
86
87
87
// Part of Replies fallback support
@@ -102,8 +102,8 @@ export default class ReplyThread extends React.Component {
102
102
switch ( ev . getContent ( ) . msgtype ) {
103
103
case 'm.text' :
104
104
case 'm.notice' : {
105
- html = `<blockquote data- mx-reply><a href="${ evLink } ">In reply to</a> <a href="${ userLink } ">${ mxid } </a>`
106
- + `<br>${ html || body } <!--end-mx-reply-- ></blockquote >` ;
105
+ html = `<mx-reply><blockquote ><a href="${ evLink } ">In reply to</a> <a href="${ userLink } ">${ mxid } </a>`
106
+ + `<br>${ html || body } </blockquote ></mx-reply >` ;
107
107
const lines = body . trim ( ) . split ( '\n' ) ;
108
108
if ( lines . length > 0 ) {
109
109
lines [ 0 ] = `<${ mxid } > ${ lines [ 0 ] } ` ;
@@ -112,28 +112,28 @@ export default class ReplyThread extends React.Component {
112
112
break ;
113
113
}
114
114
case 'm.image' :
115
- html = `<blockquote data- mx-reply><a href="${ evLink } ">In reply to</a> <a href="${ userLink } ">${ mxid } </a>`
116
- + `<br>sent an image.<!--end-mx-reply-- ></blockquote >` ;
115
+ html = `<mx-reply><blockquote ><a href="${ evLink } ">In reply to</a> <a href="${ userLink } ">${ mxid } </a>`
116
+ + `<br>sent an image.</blockquote ></mx-reply >` ;
117
117
body = `> <${ mxid } > sent an image.\n\n` ;
118
118
break ;
119
119
case 'm.video' :
120
- html = `<blockquote data- mx-reply><a href="${ evLink } ">In reply to</a> <a href="${ userLink } ">${ mxid } </a>`
121
- + `<br>sent a video.<!--end-mx-reply-- ></blockquote >` ;
120
+ html = `<mx-reply><blockquote ><a href="${ evLink } ">In reply to</a> <a href="${ userLink } ">${ mxid } </a>`
121
+ + `<br>sent a video.</blockquote ></mx-reply >` ;
122
122
body = `> <${ mxid } > sent a video.\n\n` ;
123
123
break ;
124
124
case 'm.audio' :
125
- html = `<blockquote data- mx-reply><a href="${ evLink } ">In reply to</a> <a href="${ userLink } ">${ mxid } </a>`
126
- + `<br>sent an audio file.<!--end-mx-reply-- ></blockquote >` ;
125
+ html = `<mx-reply><blockquote ><a href="${ evLink } ">In reply to</a> <a href="${ userLink } ">${ mxid } </a>`
126
+ + `<br>sent an audio file.</blockquote ></mx-reply >` ;
127
127
body = `> <${ mxid } > sent an audio file.\n\n` ;
128
128
break ;
129
129
case 'm.file' :
130
- html = `<blockquote data- mx-reply><a href="${ evLink } ">In reply to</a> <a href="${ userLink } ">${ mxid } </a>`
131
- + `<br>sent a file.<!--end-mx-reply-- ></blockquote >` ;
130
+ html = `<mx-reply><blockquote ><a href="${ evLink } ">In reply to</a> <a href="${ userLink } ">${ mxid } </a>`
131
+ + `<br>sent a file.</blockquote ></mx-reply >` ;
132
132
body = `> <${ mxid } > sent a file.\n\n` ;
133
133
break ;
134
134
case 'm.emote' : {
135
- html = `<blockquote data- mx-reply><a href="${ evLink } ">In reply to</a> * `
136
- + `<a href="${ userLink } ">${ mxid } </a><br>${ html || body } <!--end-mx-reply-- ></blockquote >` ;
135
+ html = `<mx-reply><blockquote ><a href="${ evLink } ">In reply to</a> * `
136
+ + `<a href="${ userLink } ">${ mxid } </a><br>${ html || body } </blockquote ></mx-reply >` ;
137
137
const lines = body . trim ( ) . split ( '\n' ) ;
138
138
if ( lines . length > 0 ) {
139
139
lines [ 0 ] = `* <${ mxid } > ${ lines [ 0 ] } ` ;
0 commit comments