Read an HTML file, apply language patches, and write the result back to the same file (in-place).
Absolute path to the target HTML file.
Patch parameters.
Injectable read function (default: fs.readFileSync).
fs.readFileSync
Injectable write function (default: fs.writeFileSync).
fs.writeFileSync
If the file cannot be read or written.
Read an HTML file, apply language patches, and write the result back to the same file (in-place).