use the slower version of applyHTMLOp