From 7caad9ccf47f381d36f9aa761079da9109b0b267 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Mon, 16 Jan 2023 06:08:11 +0900 Subject: [PATCH] Revert "Turn ansi escape sequences into html tags" This reverts commit 44af9271e0e984544762e2212549f134c86b4418. --- scripts/w3mman/w3mman2html.cgi.in | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/w3mman/w3mman2html.cgi.in b/scripts/w3mman/w3mman2html.cgi.in index 71ad770..2d326a9 100644 --- a/scripts/w3mman/w3mman2html.cgi.in +++ b/scripts/w3mman/w3mman2html.cgi.in @@ -162,16 +162,6 @@ EOF next; } - my $printchar='[^]'; - s@\[34m\[1m($printchar+)\[0m@$1@g; - s@\[1m($printchar+)\[0m@$1@g; - s@\[4m($printchar+)\[24m@$1@g; - s@\[1m($printchar+)\[0m@$1@g; - s@\[1m($printchar+)\[22m@$1@g; - s@\[1m($printchar+)\[4m@$1@g; - s@\[22m($printchar+)\[0m@$1@g; - s@\[22m($printchar+)\[24m@$1@g; - s@\[4m($printchar+)\[0m@$1@g; s@(http|ftp)://[\w.\-/~]+[\w/]@$&@g; s@\b(mailto:|)(\w[\w.\-]*\@\w[\w.\-]*\.[\w.\-]*\w)@$1$2@g; s@(\W)(\~?/[\w.][\w.\-/~]*)@$1 . &file_ref($2)@ge;