Handle a Chrome/WebKit/Blink bug.
This commit is contained in:
parent
19524d26b6
commit
7ee6b24606
@ -62,6 +62,10 @@ Linkify =
|
||||
range.surroundContents anchor
|
||||
true
|
||||
catch
|
||||
<% if (type === 'crx') { %>
|
||||
# Chrome bug: crbug.com/275848
|
||||
return true if anchor.parentNode
|
||||
<% } %>
|
||||
# Attempt to handle cases such as:
|
||||
# [spoiler]www.[/spoiler]example.com #
|
||||
# www.example[spoiler].com[/spoiler] #
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user