CuteEditor for ASP 6.6 Class Library

Editor.CleanUpHTMLCode Method

Use the Clean Up HTML function to remove empty tags, combine nested font tags, and otherwise improve messy or unreadable HTML code.

Parameters

string
The input string.

Remarks

The CleanUpHTMLCode method enables you to Clean Up HTML function to remove empty tags, combine nested font tags, and otherwise improve messy or unreadable HTML code.

Example


Example Code

      <%
           Dim editor, content
           Set editor = New CuteEditor
           editor.ID = "Editor1"

           'Clean Up HTML Code.
           content = editor.CleanUpHTMLCode("Some HTML Code here")
           Response.Write content
      %>

See Also

Editor Class | CuteEditor Namespace