**Marked version:** 1.2.6 (not sure when change was introduced) **Describe the bug** The use of `startsWith` and `endsWith` in the source breaks IE11 **To Reproduce** 1. Launch IE11 1. Open Developer Tools 1. Click on Console tab 1. Visit https://docsify.js.org (which uses marked 1.2.6) 1. Note error message **Expected behavior** Expected marked to continue to work in IE11 until support is officially dropped in a future major version.
Activity
[-]Use of `startsWith` and `endsWith` bread IE11[/-][+]Use of `startsWith` and `endsWith` breaks IE11[/+]Replace use of startsWith and endsWith with regex
fix: Replace use of startsWith and endsWith with regex for IE11 (#1877)
chore(release): 1.2.7 [skip ci]
github-actions commentedon Dec 15, 2020
🎉 This issue has been resolved in version 1.2.7 🎉
The release is available on:
Your semantic-release bot 📦🚀
chore(release): 1.2.7 [skip ci]