Skip to content
Snippets Groups Projects
Unverified Commit 05dd3815 authored by syuilo's avatar syuilo Committed by GitHub
Browse files

Merge pull request #1589 from rinsuki/fix/1428

fix #1428
parents 8b006482 859c0c34
No related branches found
No related tags found
No related merge requests found
import { lib as emojilib } from 'emojilib';
import { JSDOM } from 'jsdom';
import config from '../config';
const handlers = {
bold({ document }, { bold }) {
......@@ -43,7 +44,7 @@ const handlers = {
mention({ document }, { content }) {
const a = document.createElement('a');
a.href = '/' + content;
a.href = `${config.url}/${content}`;
a.textContent = content;
document.body.appendChild(a);
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment