0

I am using SharePoint 2016 wiki library. I have created several pages and they need to have same format. However, in some pages, SharePoint have inserted ​ character at top of page. When browse with Chrome browser it looks like a link break and all the content move down by 1 line.

The problem is this ​ is inserted inconsistently. Some page have &ZeroWidthSpace while some did not. The wiki pages format are inconsistent. I have tried modifying the content again and again but couldn't figure out the pattern of SharePoint insert ​.

How can I work around it? JQuery is acceptable?

0

End up I replace the &ZeroWidthSpace; character with following JQuery. I have a <div> element with ID "tab":

if ($("#tab").length){
    $("#tab").html($("#tab").html().replace(/\u200B/g,""));
};

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.