WordPress.org

Ready to get started?Download WordPress

Forums

Microsoft Update breaks WordPress? (7 posts)

  1. DExcode
    Member
    Posted 5 years ago #

    I am a coder and have just recently recieved 2 requests for the same problem. It seems that a recent Microsoft update (not positive about this) has broken some installations of WordPress viewed on IE7.

    The problem seems to lie in code produced by TinyMCE (I think). Here are some examples of the problem code.

    <!--[if gte mso 10]> <mce:style><!
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    > <! [endif] ><b><span style="font-family: Arial;" mce_style="font-family: Arial;">Did you know that the vast majority of <span style="text-decoration: underline;" mce_style="text-decoration: underline;">employed</span> people (including the middle classes) are less than 3 months away from being completely broke and homeless?</span></b>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">The Reason.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">It’s because the majority of people only have one source of income and that source of income comes from being employed in a job of some sort. By only working in a job where they exchange their time and expertise for money they are severely limiting their income.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">Also the income that the majority of people receive is barely able to cover their monthly living expenses.<span> </span>These people are living from pay-cheque to pay-cheque.<span> </span>For some people their pay-cheque does not fully cover their living expenses and they also supplement their income using credit cards, just paying the minimum off each month.<span> </span>Over time they steadily get deeper and deeper into debt.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">Are you in the same position as these people?</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">I was until recently.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">If you are working in a job you are allowing your income to be controlled by somebody else and by external circumstances. By being employed by somebody else you are only being paid what somebody else considers you are worth and at any moment this form of income could either be severely reduced or stopped entirely.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">You may be able to increase your income by working longer hours, by becoming more qualified in your job or by taking on more responsibility. However, all of this does not change the fact that you could still lose your job at any time and then you also lose your entire source of income.</span>
    
    <p class="style7" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">This is exactly what has happening across the UK and around the rest of the world.  Thousands of people are being made redundant and losing their jobs, due to the recession, caused by the recent “credit crunch”.  There are lots of stories reported in the media at the moment about people losing their jobs because the companies which pay their wages can no longer afford to do so due to the change in the economic climate.</span>
    
    <p class="style7" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">This blog will explain how you can protect your income from economic uncertainties like these.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">Another problem with working for a living is that if you don’t work you don’t get paid.<span> </span>If you have an accident, or become ill and are unable to work for an extended period of time then you are likely to see a massive drop in your income. <span> </span>If you are self-employed then you are unlikely to receive any income.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">But the most obvious drawback from exchanging your time for money is your income will <span style="text-decoration: underline;" mce_style="text-decoration: underline;">always</span> be limited because there are only 24 hours in a day!</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">You need to discover alternative ways to generate a regular additional income that does not involve you directly exchanging your time for money.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">The most frequently used way of generating an income is to exchange a product for money. By exchanging a product for money, there is no limitation in the amount of money you can generate.<span> </span>The limitation now is only from the number of customers you can find to buy your product.<span> </span>By selling a product that people want in high demand you are also able to generate a substantial income in a very short space of time.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">This is the way the majority of wealthy people have amassed their fortunes by exchanging money for products.<span> </span>They simply create products that people want and are willing to pay for.<span> </span>Either they create a cheap product that is sold to a large number of people, or they create an expensive product that is sold to a smaller number of people.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">Most products or services are usually sold through a business of some sort.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">Now until recently in order to have your own business you traditionally needed to have the following 3 things.</span>
    
    <ol style="margin-top: 0cm;" mce_style="margin-top: 0cm;" type="1">
    <li class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">Business premise <span> </span>- a building where you display your      product or service.</span></li>
    <li class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">Employees - staff      to run the shop.</span></li>
    <li class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">Stock - selection      of products readily available for customers to buy.</span></li>
    </ol>
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">All of this meant you previously had to have considerable time and money available to obtain these things, which is one of the reasons you probably thought that running your own business was out of your league.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">Well now that has all changed with recent advancements on the Internet. It is now very easy to setup your own online internet business because you don’t need any business premises, employees or stock to get started. This means the time and money required to get started is very small indeed. </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">Whereas a traditional business could potentially cost thousands of pounds in setup costs alone.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">In fact , if you wanted to you could start an online business for absolutely nothing, as all the things you need to get started can be obtained free of charge.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">However, if you follow the free route, some of the resources will likely have limited capabilities and may also contain adverts from the provider somewhere within any displays.<span> </span>This looks less professional, but it does allow somebody with no money whatsoever to get started straight away on building their own business and to understand the principles and techniques involved.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">However the main disadvantage is that you do not have complete control over your creation and it may be removed from the Internet at any time.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">For this reason I won’t be providing details of how to set up an online business that costs absolutely nothing in this blog.<span> </span>I would go so far as to suggest you borrowed the money, to ensure you have full control over everything you do and create, as the<span> </span>initial setup costs are so small.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;"> </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">So now you realise that the best way to make money is from selling a product and running your own business, as the potential income is only limited by the number of products you can sell to customers. </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">In the next post I will tell what one of the most profitable businesses is and how you can get started in it yourself. </span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;"><span style="font-family: Arial;" mce_style="font-family: Arial;">Until next time.</span>
    
    <p class="MsoNormal" style="line-height: 150%;" mce_style="line-height: 150%;">Dave
    
    <b><span style="font-family: Arial;" mce_style="font-family: Arial;">Please add your opinions on this post below.  I am very interested to hear your own thoughts on this subject. </span></b>< >< >< >< ><-->

    Everything after this code is NOT displayed in IE7, it does display in FF3. As you can see the code is wrapped in an if block and is also formatted differently to the rest of the wp code.

    Here are links to 2 of the affected sites. NOTE: When you view the sites they may be fixed.

    http://debtgotoguy.com/blog/ (line 89)
    http://www.davepumfrey.com/ (line 132)

    Look at the sites in FF3 and IE7, you will see missing content on the right. View the source and the suspect code is near the lines in braces above).

    Any ideas anyone?

  2. Samuel B
    moderator
    Posted 5 years ago #

    MsoNormal

    You can NOT use office or other rich text editors to compose in - they add garbage code that will bork the website
    you will need to edit posts you have done this with and remove extraneous code

  3. StrangeAttractor
    Member
    Posted 5 years ago #

    This is driving me crazy... I have tried the Super-Edit plugin, the Advanced tinyMCE plugin, etc... the Paste from Word button does not remove those conditional comments by Microsoft...

    Are there any solutions?

    I have been going through the TinyMCE forums as well -- there seem to be some plugins that address this, but I don't know how to install a tinyMCE plugin into WordPress without altering core files...

    Is there an easy way to add a tinyMCE plugin via writing a simple WordPress plugin?

    I'm really, really frustrated about this issue.

    And please -- don't tell me not to use MS Word. It's not for me. It's for clients -- and most of their documents are already in MS Word. I want things to be idiot-proof for them -- cutting and pasting from a word document into the visual editor of WordPress without having to edit code in the HTML window. And no, they can't just paste into a plain text editor to remove all the code -- because they would want to be able to retain simple stuff like bold, italics etc. without having to hunt through a long document to do this.

    It just seems like such an important piece of the puzzle for so many clients. Yeah, I will be the first to agree that MS Word sucks, but like it or not, virtually everyone composes in it and stores documents in it. It is by far Microsoft's most universal product.

  4. Saurus
    Member
    Posted 5 years ago #

    The fact that "everyone" uses Word and it's MS's "most universal product" doesn't mean it co-exists well with WP. It just doesn't, and there and dozens of posts about this as well as stickys and posts in the Codex. If people want to post in WP they are going to have to do one of two things...
    1- Use only a plain text editor to write
    2- If they MUST play in Word - save the document as PLAIN TEXT before pasting into WP.

  5. thisisedie
    Member
    Posted 5 years ago #

    And please -- don't tell me not to use MS Word.

    As Samboll already said... you can't use MS Word or any other rich text editor. You may not want to hear this but it's the way it is and the way it's been since before dinosaurs roamed the earth. Why don't people just write their posts in WordPress? Sigh.

  6. kmessinger
    Volunteer Moderator
    Posted 5 years ago #

    Your second link is so full of errors it would be hard to blame it on word. Your first link validates so I guess the problem was fixed.

    If your code is good, the Paste from Word button should work fine. That is if your clients saved it as a Word doc and not as RTF or something else. I think clean up the errors and do some additional testing.

  7. StrangeAttractor
    Member
    Posted 5 years ago #

    Why don't people just write their posts in WordPress? Sigh.

    It's difficult when you are posting already existing documents that have lots of text, etc.

    I'm not blaming WordPress... everyone knows that MS Word puts craploads of junk code in HTML, and it sucks.

    I'm trying to figure out a solution. The main issue with the Paste from Word is that it doesn't remove the conditional IE comments -- so the thing breaks in IE. I can make the clients remove them, but it's confusing and inconvenient for people who are afraid of doing anything involving HTML.

    I just would like to get a plugin that strips everything from Word docs except for basic formatting like bold and italics. It doesn't seem like that would be an impossible order to fill...

    (And yes, I know about the paste-into-notepad trick -- but this removes ALL formatting, so isn't good for long formatted documents.)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags