diff --git a/tutorial/Wmml.pmod b/tutorial/Wmml.pmod
index c23bf10d8459b2fab0e54ca734363f75275a66bc..2482595634000dd5cd4077f924e5281f5f2c1f32 100644
--- a/tutorial/Wmml.pmod
+++ b/tutorial/Wmml.pmod
@@ -701,7 +701,8 @@ SGML low_make_concrete_wmml(SGML data)
 	   {
 	      string fullname;
 	      if (name[0..strlen(classbase->query())-1]==
-		  classbase->query())
+		  classbase->query() ||
+		  tag->params->fullpath)
 		 fullname=name;
 	      else switch(tag->tag)
 	      {