SharePoint 2010 stripping shape and coords from <area> tags
We have site in Sharepoint 2007 (WSS) that we're migrating to Sharepoint 2010 (Foundation). One of the pages on the site consists of an image with links mapped via and tags -- i.e.:
<map name="name">
<area shape="rect" coords="0,0,10,15" href="http://somesite.com/" />
</map>
When I try to get the tags above into a 2010 page, it strips off the shape and coords attributes, leaving me with:
<map name="name">
<area href="http://somesite.com/" />
</map>
开发者_JAVA百科
I've tried a Wiki page, a Wiki page with a Content Editor webpart and a webpart page with a Content editor webpart -- all with the same result adding this via Edit HTML Source.
Any help or suggestions much appreciated -- thanks!
Try to use SharePoint Designer + "Advanced Mode" Editing.
Which browser(s) are you seeing this with? I've experienced the same thing that you describe with a Publishing site with IE7.
As the same user accessing the same site via IE8 I can edit the source and it preserves the Shape and Coords attributes.
Not very satisfactory as it makes it hard to trust future edits not mangling the page but meanwhile this has got around the problem for me.
精彩评论