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