From 7805c10dac265529f5bfb1e806eb607f79aac241 Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Sat, 4 Jul 1998 17:53:28 +0200
Subject: [PATCH] Solve the same thing in a safer way by encoding name tags in
 the same way as href.

Rev: tutorial/Html.pmod:1.4
---
 tutorial/Html.pmod | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tutorial/Html.pmod b/tutorial/Html.pmod
index fc8a064654..2afe69d628 100644
--- a/tutorial/Html.pmod
+++ b/tutorial/Html.pmod
@@ -34,7 +34,6 @@ void create()
     case '.':
     case ';':
     case ':':
-    case '`':
       break;
 
     default:
@@ -61,6 +60,7 @@ string mktag(string tag, mapping params)
       switch(i)
       {
 	case "href":
+	case "name":
 	  ret+="='"+quote_param(params[i])+"'";
 	  break;
 
-- 
GitLab