diff --git a/wikilink.go b/wikilink.go index f250aca..6458d65 100644 --- a/wikilink.go +++ b/wikilink.go @@ -27,6 +27,7 @@ type wikilinksParser struct { type linkNormalizer struct{} func (t *linkNormalizer) Normalize(linkText string) string { + // Note: This escapes emoji 😁 => %F0%9F%98%81 return url.PathEscape(linkText) + ".html" } diff --git a/wikilinks.txt b/wikilinks.txt index 05bc439..5df2e3e 100644 --- a/wikilinks.txt +++ b/wikilinks.txt @@ -64,3 +64,9 @@ get the full set of text in my tracker.
//- - - - - - - - -// //= = = = = = = = = = = = = = = = = = = = = = = =// +10 +//- - - - - - - - -// +[[😁]] +//- - - - - - - - -// + +//= = = = = = = = = = = = = = = = = = = = = = = =//