Fix whitespace in plugin
This commit is contained in:
parent
1abe938cd3
commit
7aea426c64
@ -53,7 +53,7 @@ class BidirectionalLinksGenerator < Jekyll::Generator
|
|||||||
current_note.content = current_note.content.gsub(
|
current_note.content = current_note.content.gsub(
|
||||||
/\[\[(.*)\]\]/i, # match on the remaining double-bracket links
|
/\[\[(.*)\]\]/i, # match on the remaining double-bracket links
|
||||||
<<~HTML.chomp # replace with this HTML (\\1 is what was inside the brackets)
|
<<~HTML.chomp # replace with this HTML (\\1 is what was inside the brackets)
|
||||||
<span title='There is no note that matches this title.' class='invalid-link'>
|
<span title='There is no note that matches this link.' class='invalid-link'>
|
||||||
<span class='invalid-link-brackets'>[[</span>
|
<span class='invalid-link-brackets'>[[</span>
|
||||||
\\1
|
\\1
|
||||||
<span class='invalid-link-brackets'>]]</span></span>
|
<span class='invalid-link-brackets'>]]</span></span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user