When you work for example with the presentations DAX adds some HTML comment code to the text stored in the database. This can cause the text on the web to be displayed in incorrect format. This also takes up space in the database and makes the database file grow larger.
<!--AXAPTA MarginWidth="0" MarginHeight="0" WebletName="WebLet700062029" Type="WebPageWeblet" -->TEXT
There is a nice X++ function: just call Web::stripHTML(string), which will return the string without the HTML tags
<!--AXAPTA MarginWidth="0" MarginHeight="0" WebletName="WebLet700062029" Type="WebPageWeblet" -->TEXT
There is a nice X++ function: just call Web::stripHTML(string), which will return the string without the HTML tags
Comments
Post a Comment