Special Charactes in Template port Data String
Posted: 10 Jul 2015, 08:52
If I want to pass a special Character through a template Port for example "&" I have to write the HTML/XML code "&"
However "<" and ">" for example are interpreted correctly, so there is no need for html conversion.
So a general html encoding like System.Net.Webutility.HtmlEncode(string) does not Work.
If I extract the string inside the Template port the "&" has been converted to "&".
Now I want to pass this string to another template Port inside the other one so i have to replace "&" with "&," again manually.
Is there a way to handle special characters in template Ports in a save way without worrying about each string and each character?
For now I just try to stay with a-z and 0-9 to avoid these problems.
However "<" and ">" for example are interpreted correctly, so there is no need for html conversion.
So a general html encoding like System.Net.Webutility.HtmlEncode(string) does not Work.
If I extract the string inside the Template port the "&" has been converted to "&".
Now I want to pass this string to another template Port inside the other one so i have to replace "&" with "&," again manually.
Is there a way to handle special characters in template Ports in a save way without worrying about each string and each character?
For now I just try to stay with a-z and 0-9 to avoid these problems.
