Source: debci Severity: normal X-Debbugs-Cc: [email protected]
Hi! while browsing a random autopkgtest result[0], I noticed that the source code referenced in the error message is rendered weirdly: error[E0433]: cannot find module or crate `regex` in this scope --> src/remove.rs:37:11 | 37 | rex: ®ex::bytes::Regex, | ^^^^^ use of unresolved module or unlinked crate `regex` | = help: if you wanted to use a crate named `regex`, use `cargo add regex` to add it to your `Cargo.toml` the `®ex` is rendered as `®ex`, because it is interpreted as HTML character reference (and `reg` happens to be allowed without the usual trailing `;`)[1] 0: https://ci.debian.net/packages/r/rust-lazy-regex/testing/amd64/73729776/#L2099 1: https://html.spec.whatwg.org/multipage/named-characters.html IMHO random HTML code in log output should not be rendered as-is.. I have not checked which component lacks filtering, and whether other things are not filtered that should be.. Regards, Fabian

