Fix JS regex

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-03-05 10:47:47 +01:00
parent 48b374f683
commit c42864c2f4
No known key found for this signature in database
GPG key ID: 7076EA9751AACDDA
3 changed files with 1 additions and 1 deletions

View file

@ -82,7 +82,7 @@ export default {
)
.replace('{issuetracker}', this.issuetrackerLink)
.replace('{designteam}', this.designteamLink)
.replace('/{linkend}/g', '</a>')
.replace(/\{linkend\}/g, '</a>')
},
issuetrackerLink() {
return `<a target="_blank" href="https://github.com/nextcloud/server/issues/" rel="noreferrer nofollow">`