So, I run a website for a great group of people. It is a non-profit that rescues greyhounds.
Sometimes, they need to post something, so I get a file in Microsoft Word, and I need to get it HTML formatted.
Their website is based around Joomla, and I use the JCE rich text editor. In general, it works pretty good, but sometimes it is thrown for a loop by what Microsoft outputs as HTML.
An example:
<p style=”margin-left: 60px;”>1. Identify caring and responsible homes.</p>
<p style=”margin-left: 60px;”><span style=”line-height: 1.3em;”>2. </span><span style=”line-height: 1.3em;”>Re</span><span style=”line-height: 1.3em;”>scu</span><span style=”line-height: 1.3em;”>e</span><span style=”line-height: 1.3em;”> </span><span style=”line-height: 1.3em;”>s</span><span style=”line-height: 1.3em;”>i</span><span style=”line-height: 1.3em;”>ck</span><span style=”line-height: 1.3em;”>,</span><span style=”line-height: 1.3em;”> </span><span style=”line-height: 1.3em;”>i</span><span style=”line-height: 1.3em;”>n</span><span style=”line-height: 1.3em;”>j</span><span style=”line-height: 1.3em;”>u</span><span style=”line-height: 1.3em;”>r</span><span style=”line-height: 1.3em;”>e</span><span style=”line-height: 1.3em;”>d</span><span style=”line-height: 1.3em;”> </span><span style=”line-height: 1.3em;”>an</span><span style=”line-height: 1.3em;”>d</span><span style=”line-height: 1.3em;”> </span><span style=”line-height: 1.3em;”>abandone</span><span style=”line-height: 1.3em;”>d </span><span style=”line-height: 1.3em;”>g</span><span style=”line-height: 1.3em;”>r</span><span style=”line-height: 1.3em;”>eyhound</span><span style=”line-height: 1.3em;”>s.</span></p>
<p style=”margin-left: 60px;”>3. Seek to return lost greyhounds to their owners.</p>
<p style=”margin-left: 60px;”>4. Teach the principles of kindness and humane dog care.</p>
<p style=”margin-left: 60px;”>5. Promote birth control by neutering/spaying all intake animals.</p>
<p style=”margin-left: 60px;”>6. Provide pre-adoption health services.</p>
<p style=”margin-left: 60px;”>7. Provide residential foster care to assist greyhounds in becoming acclimated to a home environment.</p>
Note the second line item, it is supposed to be :
- Rescue sick, injured, and abandoned greyhounds.
It has become some gawdawful bunch of span’s that make no sense whatsoever.
Sigh, I get to clean this mess up…