Fix links to user IDs.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3776 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-01-19 02:37:39 +00:00
parent 1515525a1b
commit 83fa488b8d
5 changed files with 23 additions and 14 deletions

View File

@@ -19,11 +19,7 @@ Vue.component('tf-message', {
}
},
methods: {
markdown: function(md) {
var reader = new commonmark.Parser({safe: true});
var writer = new commonmark.HtmlRenderer();
return writer.render(reader.parse(md));
},
markdown: markdown,
set_reply: function() {
g_data.reply_root = this.content_json.root || this.message.id;
g_data.reply_branch = this.message.id;