How to replace the innerHTML of all tags with html5lib?
input:
foo
<h1>Moonlight</h1>
bar
Desired output:
foo
<h1>Sunshine</h1>
bar
I would like to use html5lib, since it is already a dependency.
How to replace the innerHTML of all tags with html5lib?
input:
foo
<h1>Moonlight</h1>
bar
Desired output:
foo
<h1>Sunshine</h1>
bar
I would like to use html5lib, since it is already a dependency.
Copyright © 2021 Jogjafile Inc.