fix highlight_spans, reverting to older code since internal ORCompiler does not exist at the time the method is called; release 0.04