After reading this blog post I was excited to try and get YQL execute to run the Showdown markdown implementation to process the description field on my delicous links.
My problem is that after I call the converter.makeHtml(pdata.items[i].description); in my drewfranklin.com/yql/markdown.xml file I am running into issues with the HTML escaping properly as once I stringify the JSON its takes what I believe is an escaped <\/p> and makes it literally <\/p> causing all sorts of problems when I get the data back into pipes.
Anybody have any reccomendations on how to fix this?
here is the pipe link http://pipes.yahoo.com/pipes/pipe.edit?_id...6cb3fff8be0a34d
In Pipes I am using a Regex module with the rule
In [item.description] replace [\\(?=[/"\x00-\x1F])] with [] (omit all outer []s)
The "g" switch is set. The rule should be applied to any relevant elements.
This should, I hope, unescape the standard JSON escaping.
So far I have worked on the basis that the problem lies with Pipes and not YQL.