Master Page HTML encoding error using SharePoint Designer

I’ve noticed SharePoint Designer has a tendency of messing up your master page.  You will notice that it encodes some of the HTML, especially if you copy between master pages.  If you correct this, the page will save.

The SharePoint HtmlEncode method converts characters to entities as follows:

• < to &lt;

• > to &gt;

• & to &amp;

• " to &quot;

• ‘ to '

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s