You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reminding me that this needed to be fixed. At the time when std.algorithm.indexOf was deprecated, I just blindly followed the suggestion to use countUntil and didn't realize the semantic issues (and I thinkcountUntil was acually returning a byte index until recently...)
For example
filterMarkdown("[ö](/o)")
is not recognized as link.The problem is, that countUntil returns the number of code points.
https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/textfilter/markdown.d#L796
The text was updated successfully, but these errors were encountered: