Problem with Cuteeditor to getHTML

  •  06-24-2009, 9:12 AM

    Problem with Cuteeditor to getHTML

    Previously I was using cuteeditor 5.3 and now I am using cuteditor 6.4.

    In new editor i am getting wrong html.

    I am using setHTML method to set html . But when we get html by getHTML then it is giving the wrong/ unstructred html.

    By debugging i find that the html got incoorect in
    CEPS.R = function( h ) function

    This is input html

    "<!DOCTYPE html SYSTEM "D:\PowerXEditor\pxe3.1\supportfiles\entity.dtd"[]>
    <html><head><title>Managing Acute Drug Toxicity</title><link rel="stylesheet" href="../css/PXEFixStyle.css" type="text/css" />
    <link rel="stylesheet" href="../css/koda.css" type="text/css" />
    </head><body class="bodymargin"><div class="fm"><p class="Document_number" iid="CH5_1145">CHAPTER <span class="Doc_number">5</span></p><p class="Title_document">Managing Acute Drug Toxicity</p><p class="Authors">Judith A. Alsop</p></div><div class="body"><p class="Para_flfirst" iid="CH5_6561">This chapter reviews and presents examples of the most common strategies used to evaluate and manage drug overdoses and poisonings. For detailed information about how to manage specific drug overdoses, the reader is referred to other toxicologic references or to a poison control center.</p><p class="Head2" id="Head2_1" iid="CH5_4333">Epidemiologic Data</p><p class="Head3" id="Head3_2" iid="CH5_8190">American Association of Poison Control Centers and Drug Abuse Warning Network</p>"
     
     
     
    This is wrong output html

    <!DOCTYPE html SYSTEM "D:\PowerXEditor\pxe3.1\supportfiles\entity.dtd"[]>
    <html><head></head>
    <body><!DOCTYPE html SYSTEM "D:\PowerXEditor\pxe3.1\supportfiles\entity.dtd"[]>
    <html><head><title>Managing Acute Drug Toxicity</title><link rel="stylesheet" href="../css/PXEFixStyle.css" type="text/css" />
    <link rel="stylesheet" href="../css/koda.css" type="text/css" />
    </head> <link href="../css/PXEFixStyle.css" type="text/css" rel="stylesheet"><link href="../css/koda.css" type="text/css" rel="stylesheet">
    <div class="fm">
    <p class="Document_number" iid="CH5_9049">CHAPTER <span class="Doc_number">5</span></p>
    "
     
     
     
    I have licensed sorce code of editor.
     
     
    Please advice change in function code.
     
     
View Complete Thread