matrix: URIs #112
1 changed files with 1 additions and 1 deletions
allow & in the matrix: uri regex
commit
b40382da08
|
|
@ -564,7 +564,7 @@ function serialiseReplyContent(doc) {
|
|||
* @returns {string}
|
||||
*/
|
||||
function convertMatrixUris(input) {
|
||||
return input.replace(/(?<![\/:@?#])\b(matrix:[\w\/=?:\.-]+)/gi, (match, uri) => {
|
||||
return input.replace(/(?<![\/:@?#])\b(matrix:[\w\/=?:\.&-]+)/gi, (match, uri) => {
|
||||
// technically the url might be html-encoded, but since we're gonna splice the url back together,
|
||||
// and none of the characters that might get html-encoded are actually important to us, it doesn't really matter
|
||||
// (most of the case it's the query string, and we just copy it over anyway)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue