镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Use of startsWith and endsWith breaks IE11 #1876

Closed

Description

@jhildenbiddle

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
  2. Open Developer Tools
  3. Click on Console tab
  4. Visit https://docsify.js.org (which uses marked 1.2.6)
  5. Note error message

Expected behavior
Expected marked to continue to work in IE11 until support is officially dropped in a future major version.

Activity

  1. changed the title [-]Use of `startsWith` and `endsWith` bread IE11[/-] [+]Use of `startsWith` and `endsWith` breaks IE11[/+] on Dec 14, 2020
  2. added a commit that references this issue on Dec 14, 2020
    06eec11
  3. added a commit that references this issue on Dec 15, 2020
    4fdde20
  4. added a commit that references this issue on Dec 15, 2020
  5. github-actions commented on Dec 15, 2020

    @github-actions

    🎉 This issue has been resolved in version 1.2.7 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

  6. added a commit that references this issue on Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions