Commit a9bb4944 authored by baiyaaaaa's avatar baiyaaaaa Committed by GitHub

Merge pull request #2376 from QingWei-Li/doc/changelog-user

Doc: username converted to GitHub profile link in changelog page
parents 5246b170 3a1f9480
...@@ -159,6 +159,7 @@ ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment