Closed jacobbudin closed 1 year ago
@jrekier Does this solve your issue (#87)?
@jacobbudin Thanks for your work. I extracted the backlinks logic to a plugin (binyamin/eleventy-plugin-backlinks). If you want to patch it there too, go ahead.
@binyamin Sure: https://github.com/binyamin/eleventy-plugin-backlinks/pull/2. Hope this helps.
@binyamin looks like it :) Thanks @jacobbudin, I'd never have thought of that.
Fixes #87
The issue demonstrated in jrekier/mind-garden is that while the strings represent the same characters, they are not byte identical. (See "proof" below.) Calling
String.prototype.normalize()
before the comparison returns the expected match.