Developer forum

Forum » Feature requests » Tags with HTML Entity encoding

Tags with HTML Entity encoding

Martin Nielsen
Reply
Hi DW,

When creating the best websites in the world, it's a bummer that they can't validate because og missing HTML encoding.

I have a wish for a lot of new tags (and improvement of the old), when i can get the HTML encoded version any tag value in DW.

An example could be a product named "B&D Screwdriver", when i render this value with <--@Ecom:Product.Name--> i get the exact same text. I want to get "B&amp;D Screwdriver" instead, wether it's in the old tag or a new <--@Ecom:Product.Name.Encoded-->.
This goes for basicly all tags from DW.

Same goes for URL's, i'd love to see the possibility to get URL-encoded links from DW.
// Martin

Replies

 
Nicolai Høeg Pedersen
Reply
Yes - of course we need something to handle that. Will think of something - either a dynamic extension of a template method:

Regarding the URLs - in new versions of Dynamicweb, mgmt center, web & http, Customized URLs - you will find the "" setting which will do what you want.


Capture.PNG