I have this code which is broken. due to single and double quotes.
How should i escape it to get it working?
<a href="path" rel="example_group" title="<a href='/Home/Vote/@item.Id'><img src='/Content/images/021.png' style='float:left; margin-left:45%;' /></a><a onClick='window.open('test.com','sharer','toolbar=0,status=0,width=548,height=325');' href='javascript: void(0)'><img src='/Content/images/022.png' /></a>"><img src="@Url.Action("ViewImage", "Image", new { id = item.Id, imageType="thumb" })" alt="" width="100" height="100" /> </a>
window.open
is breaking it.
How can i fix this? I tried escaping but no luck.
Please see that this code is in Title of a. so I can't use double quotes.