Skip to content

Change the way marked is imported to keep IE11 support #81

@tjrobinson

Description

@tjrobinson

marked 0.7.0 has a breaking change for IE11: markedjs/marked#1585

I believe the fix for angular-marked, if it's being used with marked 0.7.0, is to change this line:

m = require('marked');

To: m = require('marked/lib/marked')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions