arobase-che / md-attr-parser

A parser of markdown attributes
1 stars 2 forks source link

Allow curly brackets in attributes... #4

Closed Hypercubed closed 5 years ago

Hypercubed commented 6 years ago

I've found that md-attr-parser (and therefore remark-attr) does not support curly brackets in attributes. For example, this fails to parse:

const mdAttrParser = require("md-attr-parser")
mdAttrParser(`{ data-json='{ "key": "value" }' }`);

Is this something we can or should fix in md-attr-parser?