problem - CleanUpHTMLCode() and CleanUpMicrosoftWordHTML()

  •  08-08-2006, 6:08 AM

    problem - CleanUpHTMLCode() and CleanUpMicrosoftWordHTML()

     
    Hi,
     
    I am having a problem with CleanUpHTMLCode() and CleanUpMicrosoftWordHTML().
     
    If I have CleanUpHTMLCode() or CleanUpMicrosoftWordHTML() enabled on Save(), the following code is changed after it is saved and the editor reloaded:
     
    Original
    <p class=h1Training>THIS IS A HOLDING PAGE. DO NOT EDIT. </p>
     
    After Save - CSS classes are removed
    <p>THIS IS A HOLDING PAGE. DO NOT EDIT. </p>
     
    Why is this and how do I stop it happening?
     
    The original code is saved in the database however - but not displayed on reload after saving.
     
    Thank you
View Complete Thread