Mobile app version of vmapp.org
Login or Join
Frith620

: Unwanted hyperlinks containing 'msocom1' inserted into my WordPress content I have found several unwanted nonsensical hyperlinks inserted into unpublished content on my website (self-hosted WordPress).

@Frith620

Posted in: #Hyperlink #Wordpress

I have found several unwanted nonsensical hyperlinks inserted into unpublished content on my website (self-hosted WordPress). Four of these are to "#_msocom_1".

Googling on "#_msocom_1" returns 519 results; Googling on "msocom1" returns 602 results. I've checked a sample and all seem to be similar to my situation - they are nonsensical text inserted in the content (whether or not as a hyperlink). Unfortunately I can't find any explanation of why/how they occur.

Question: Have others noticed these nonsensical hyperlinks? Is there a known explanation? Does 'msocom1' actually mean something?

Note: I have not mis-spelled this term. It is 'msocom1'; it is NOT 'mscomm1'.

Addendum#1: there are/were other nonsensical hyperlinks. For example the words "content in" were turned into a hyperlink to 'http://content.in'. There are another 22 of these nonsensical hyperlinks.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Frith620

2 Comments

Sorted by latest first Latest Oldest Best

 

@Shelton105

Expounding on w3d's answer: From the look at the # sign this is the tell tell sign for a Div ID. To verify this export a Word document to HTML. Newer Versions >=2003 will insert CSS Markup to try to match the look of the document in the <head> tags. This includes Fonts and Paragraph Spacing. The reason all of this looks like Garbage in WordPress is because the CSS for the <div id> tag cannot be inlined due to the way PHP renders the page. For this to work correctly, you must dissect the word document and copy the CSS into the appropriate file for your theme. In WordPress, that's the Admin Menu > Appearance > Editor Submenu.

The easiest way around this that I've found, is to tell Authors to copy from Word to Notepad, and then from Notepad to WordPress.

10% popularity Vote Up Vote Down


 

@Ann8826881

As mentioned in comments, this would seem to be the result of pasting content from Microsoft Word. Perhaps where the original document contained embedded comments - "msocom" - MicroSOft COMment.

Comments in this WordPress ticket/thread would seem to suggest that MSWord tries to convert the comments into linked footnotes in the resulting HTML. There is an example of pasted content and the resulting HTML which contains #_msocom_1 .

Also discussed in the linked document is a recent update to WordPress/TinyMCE to "fix" issues of pasting content from Word. A lot of users do seem to paste content from Word (which has historically always been problematic), so this could go a long way to explaining why there are "so many unexplained examples on the net".

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme