Hey @daltoniam !
I just tried running an emoji-laden string past MDEmphasisPattern, and it seems to crash with an Fatal error: cannot increment beyond endIndex in
|
let end = mutText.index(mutText.startIndex, offsetBy: range.location + range.length) |
I have a fork with a test case added, but I've messed with a lot of build settings(from xcodegen: https://github.com/yonaskolb/XcodeGen) and don't think you'd want to merge. Check this out if you're interested though: codeOfRobin@62d6c4d
I'll try fixing it in my spare time, but I'd love to hear your thoughts on it!
Hey @daltoniam !
I just tried running an emoji-laden string past
MDEmphasisPattern, and it seems to crash with anFatal error: cannot increment beyond endIndexinbumblebee/Sources/bumblebee.swift
Line 90 in 842fb80
I have a fork with a test case added, but I've messed with a lot of build settings(from xcodegen: https://github.com/yonaskolb/XcodeGen) and don't think you'd want to merge. Check this out if you're interested though: codeOfRobin@62d6c4d
I'll try fixing it in my spare time, but I'd love to hear your thoughts on it!