Merge pull request #45 from tulir/patch-2
Fix matrix-static URLs for aliases with hashtags
This commit is contained in:
commit
5f4240a418
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ var linkable_clients = [
|
||||||
logo: "img/matrix-static-48px.png",
|
logo: "img/matrix-static-48px.png",
|
||||||
author: "Michael Telatynski",
|
author: "Michael Telatynski",
|
||||||
homepage: "https://github.com/t3chguy/matrix-static",
|
homepage: "https://github.com/t3chguy/matrix-static",
|
||||||
room_url(alias) { return "https://view.matrix.org/alias/" + alias.replace('#', '%23') },
|
room_url(alias) { return "https://view.matrix.org/alias/" + alias.replace(/#/g, '%23') },
|
||||||
room_id_url(id) { return "https://view.matrix.org/room/" + id },
|
room_id_url(id) { return "https://view.matrix.org/room/" + id },
|
||||||
maturity: "Stable",
|
maturity: "Stable",
|
||||||
comments: "A static golang generated preview of public world readable Matrix rooms.",
|
comments: "A static golang generated preview of public world readable Matrix rooms.",
|
||||||
|
|
Loading…
Reference in a new issue