changeset 632:c3e163403cdf

Do htmlescape in heading of blog
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 27 Apr 2020 15:46:59 +0900
parents 574529409c72
children 3fb0c7433a64
files s4-blog.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-blog.sh	Fri Apr 24 21:23:05 2020 +0900
+++ b/s4-blog.sh	Mon Apr 27 15:46:59 2020 +0900
@@ -230,7 +230,7 @@
     cat<<-EOF
 	<tr><td>${edit:+$href }$ctime $blogtype $href2$href3 $href4 $href5</td></tr>
 	<tr class="preface${frozen_class:+ }$frozen_class">
-	 <td>`echo "$hexhead"|unhexize|hreflink|minitbl`</td></tr>
+	 <td>`echo "$hexhead"|unhexize|htmlescape|hreflink|minitbl`</td></tr>
 	</table>
 	EOF
     case "$blogtype" in

yatex.org