Package: colorized-logs Version: 2.6-1 Severity: normal ansi2txt/ansi2html turn sgr0 into 'B' instead of an empty string.
$ echo $TERM xterm-256color $ tput sgr0 | hd 00000000 1b 28 42 1b 5b 6d |.(B.[m| 00000006 $ tput sgr0 | ansi2txt ; echo B $ tput sgr0 | ansi2html --no-header <pre style="color:#bbb;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word">B</pre> $ man terminfo | grep sgr0 | head -n 1 exit_attribute_mode sgr0 me turn off all attributes -- System Information: Debian Release: trixie/sid APT prefers testing-debug APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental') merged-usr: no Architecture: amd64 (x86_64) Kernel: Linux 6.6.15-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages colorized-logs depends on: ii less 590-2 ii libc6 2.37-15 colorized-logs recommends no packages. Versions of packages colorized-logs suggests: pn ccze <none> ii colordiff 1.0.20-1 pn colormake <none> pn colortail <none> -- no debconf information -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part