In this post we will discuss how to solve the article pages showing html issues in SharePoint 2013. Recently while working in a Moss 2007 to SharePoint 2013 project we saw in one page, rather than coming as proper html text, it appears as html tags as shown in the fig below:
Also check out:
– SharePoint Server 2016 features deprecated or removed
– Get All Attachments From SharePoint 2013 List Item using Rest API
– Auto complete feature in SharePoint 2013 list column using SPServices in SharePoint 2013
The html tags appearing in an article page in SharePoint 2013 site which was migrated from moss 2007 to SharePoint 2013.
To solve the issue we run the below PowerShell command.
$web = Get-SPWeb “http://win-pfcp2dgt8di/sites/EnjoySharePoint/”
$list = $web.Lists[“Pages”]
foreach ($page in $list.Items)
if ($page.Title -eq “MyTestArticlePage”)
$field.RichText = $true
$field.RichTextMode = [Microsoft.SharePoint.SPRichTextMode]::FullHtml
After this the page appears like below:
Hope this will be helpful.
You May Also like the Following SharePoint Tutorials: