mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
autolink, 엔티티로 된 태그속에 URL이 있을 경우 링크가 이상하게 걸리는 문제 수정
https://www.xetown.com/contact/401884
This commit is contained in:
parent
be194a528a
commit
645edf12bd
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@
|
|||
var content = textNode.nodeValue;
|
||||
var dummy = $('<span>');
|
||||
|
||||
//content = content.replace(/</g, '<').replace(/>/g, '>');
|
||||
content = content.replace(/</g, '<').replace(/>/g, '>');
|
||||
content = content.replace(url_regex, '<a href="$1" target="_blank">$1</a>');
|
||||
|
||||
$(textNode).before(dummy);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue