diff --git a/_plugins/bidirectional_links_generator.rb b/_plugins/bidirectional_links_generator.rb index 057635a..46956cf 100644 --- a/_plugins/bidirectional_links_generator.rb +++ b/_plugins/bidirectional_links_generator.rb @@ -66,6 +66,6 @@ class BidirectionalLinksGenerator < Jekyll::Generator end def note_id_from_note(note) - note.data['title'].to_i(36).to_s + note.data['title'].gsub!(/\W+/, '').to_i(36).to_s end end