Quantcast
Channel: html2openxml Discussions Rss Feed
Viewing all articles
Browse latest Browse all 228

New Post: Escape characters while building html

$
0
0
Hello,


This problem is very tied to your way to build your Html.
Similarly to what you should do if creating an Xml "by-hand", you will have to escape the quotes.
Don't forget to encode also "<" and ">" inside the tags (see related issue)

You can use .net built-in utilities: HttpUtility.HtmlEncode and HttpUtility.HtmlAttributeEncode.

Viewing all articles
Browse latest Browse all 228

Trending Articles