From 8d8f7e83ef66d7faf469f6ea9442a7268d0a0ac3 Mon Sep 17 00:00:00 2001 From: Habu Date: Tue, 3 Apr 2018 22:12:07 +0900 Subject: [PATCH] =?utf8?q?[modify]=E3=82=B9=E3=82=AF=E3=83=AA=E3=83=BC?= =?utf8?q?=E3=83=B3=E3=83=80=E3=83=B3=E3=83=97=E3=81=A7=E3=80=8C'=E3=80=8D?= =?utf8?q?=E3=81=A8=E3=80=8C"=E3=80=8D=E3=81=AE=E3=82=A8=E3=82=B9=E3=82=B1?= =?utf8?q?=E3=83=BC=E3=83=97=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit タグの属性に割り込むことは無いので基本的にはエスケープしなくても問題ないはずだが、念の為エスケープしておく。 --- src/report.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/report.c b/src/report.c index 6ccf632df..227fb6c01 100644 --- a/src/report.c +++ b/src/report.c @@ -381,6 +381,8 @@ cptr make_screen_dump(void) case '&': cc = "&"; break; case '<': cc = "<"; break; case '>': cc = ">"; break; + case '"': cc = """; break; + case '\'': cc = "'"; break; #ifdef WINDOWS case 0x1f: c = '.'; break; case 0x7f: c = (a == 0x09) ? '%' : '#'; break; -- 2.11.0