Hi there!
Im looking for help :)
So I have a mongo document storing liquid markup expressions
"settings" : { "src" : "{{location.name}}", "href" : "visit us: {% if location.website !='' %}{{location.website}}{%else%}{{location.url}}{% endif %}", "exp" : "{% assign cf = location.tags | where: \"name\",\"Market\" | first %}{{cf.data}}" },
When i stringify the whole node and try to parse it, im getting ""Error: tag "{% assign cf ..." not closed, probably related to the escape im doing for storing the expression on db
Any ideas about how could i get it working? If i process each key-val separately it works just fine
Thanks in advance
Ale
Hi there!
Im looking for help :)
So I have a mongo document storing liquid markup expressions
"settings" : { "src" : "{{location.name}}", "href" : "visit us: {% if location.website !='' %}{{location.website}}{%else%}{{location.url}}{% endif %}", "exp" : "{% assign cf = location.tags | where: \"name\",\"Market\" | first %}{{cf.data}}" },When i stringify the whole node and try to parse it, im getting ""Error: tag "{% assign cf ..." not closed, probably related to the escape im doing for storing the expression on db
Any ideas about how could i get it working? If i process each key-val separately it works just fine
Thanks in advance
Ale