To reprodruce :
::foo{:test='{"foo":"I\'d love to}'}
::
Outputs AST :
{
"type": "root",
"children": [
{
"type": "element",
"tag": "p",
"props": {},
"children": [
{
"type": "text",
"value": "::foo{:test='{\"foo\":\"I'd love to}'}\n::"
}
]
}
]
}
But what is expected :
{
"type": "root",
"children": [
{
"type": "element",
"tag": "foo",
"props": {
":test": "{\"foo\":\"I'd love to}"
},
"children": []
}
]
}