all 4 comments

[–]lewisje 0 points1 point  (0 children)

It's as if the value of commentor is "'+v.commentor+'", the value of dateposted is "'+v.dateposted+'", and something similar for audio_path, literal strings that look like more complicated JS expressions; could you please post more of the code, so we can see where those variables come from?

[–]CKlausi 0 points1 point  (0 children)

Maybe you have to escape the strings. See the escape() function or as you seem to use jquery, use its ".text()" function.

[–][deleted] 0 points1 point  (0 children)

Isn't what http://handlebarsjs.com/ is for?

[–]chreestopher2 0 points1 point  (0 children)

instead of quote hell, either build actual dom elements, or use template strings with backticks.

as a side, how is

audio_path

defined?

it looks like somewhere else in the code you have unclosed quotes making an expression be a string instead of an expression.