forgejo/web_src/js/render
Gusted 0869e0e08a fix: don't show ConEmu OSC escape sequences (#9875)
- Remove all [ConEMU OSC commands](https://conemu.github.io/en/AnsiEscapeCodes.html#ConEmu_specific_OSC) from the output of Forgejo action logs when rendering.
- The regex is constructed as followed: Match the prefix `ESC ] 9 ;`. Then matches any number of digits, then match everything up to and including `ST` (this is either `ESC\` or `BELL`).
- Resolves forgejo/forgejo#9244

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9875
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-10-31 07:24:23 +01:00
..
ansi.js fix: don't show ConEmu OSC escape sequences (#9875) 2025-10-31 07:24:23 +01:00
ansi.test.js fix: don't show ConEmu OSC escape sequences (#9875) 2025-10-31 07:24:23 +01:00