There is a risk I guess that the the value and diff contain </pre> which would break the sort of HTML content, but the important part was to convert the ansi escapes codes rather than escape HTML. The HTML escaping of the ansi_to_html module is also on a partial escape, and not very robust. It might be worth using something like htmlize or html_escape which provide full conversions to both encoding and decoding HTML entities. |
||
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Containerfile | ||
| README.md | ||
| container-compose.yml | ||
README.md
Haunter
Watches web sites for changes