mirror of https://github.com/ElemeFE/element
Merge pull request #2376 from QingWei-Li/doc/changelog-user
Doc: username converted to GitHub profile link in changelog pagepull/2390/head
commit
a9bb494456
|
@ -159,6 +159,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fragments = fragments.replace(/#(\d+)/g, '<a href="https://github.com/ElemeFE/element/issues/$1" target="_blank">#$1</a>');
|
fragments = fragments.replace(/#(\d+)/g, '<a href="https://github.com/ElemeFE/element/issues/$1" target="_blank">#$1</a>');
|
||||||
|
fragments = fragments.replace(/@(\w+)/g, '<a href="https://github.com/$1" target="_blank">@$1</a>');
|
||||||
this.$refs.timeline.innerHTML = `${fragments}</li>`;
|
this.$refs.timeline.innerHTML = `${fragments}</li>`;
|
||||||
|
|
||||||
changeLog.$el.remove();
|
changeLog.$el.remove();
|
||||||
|
|
Loading…
Reference in New Issue