YUI: Editor: SourceForge Bug #1804028

YUI RTE fix for SourceForge Bug #1804028.

The Code

With DOCTYPE set & no fix

With DOCTYPE set & with fix

With No DOCTYPE set & no fix

With No DOCTYPE set & with fix

The Javascript