Paste the following somewhere into a valid epub2 (and make sure it still validates after):
Code:
<!-- this is an html comment -->
Launch the ePubTidy plugin (lastest version) and make sure the file you added the above code to is selected on the left.
The default options for the plugin (first install of the plugin) are selected. Namely "Format HTML" and "Use in-built dictionary" are the only things checked on the right. Nothing changed under any of the other sections from the default.
Click the Process Text button;
I immediately get a Sigil warning that Incorrect XHTML/XML was detected "Are you sure you want to continue?" Choices are "Yes," "No," and "Details". Clicking the Details button shows "Incorrect XHTML: OEBPS/Text/Section0001.xhtml Line/Col 13,6 Expected '-', '[CDATA[', or 'DOCTYPE', but got '[a-zA-Z]'."
If I hit "Yes" to continue, the original code posted above gets changed to:
Code:
<!—this is an html comment—>
The double-hyphens were changed to emdashes and the spaces were removed from the comment.
Clicking "No" aborts the attempt to alter the html comment.