HTMLSec's various functions deal with sections. These are defined in HTML files using the comment tag. The format of sections *must* be: <!-- *start <section name>* --> ... <!-- *end <section name>* --> where <section name> specifies the section name. Note that there should be exactly 1 space before the 1st asterisk, and 1 after it. HTMLSec will not be able to discern the sections otherwise. When doing update operation, HTMLSec will destroy any text between the two section markers. If no option is being performed on a section, then its contents will be preserved. You cannot perform multiple operations on one section - this would have to be performed in multiple passes (there is nothing currently to be gained by performing multiple operations).