store preprocessor plaintext offsets in DOM