diff --git a/Tools/AGSHtml.m b/Tools/AGSHtml.m
index f2047f108..61db591c4 100644
--- a/Tools/AGSHtml.m
+++ b/Tools/AGSHtml.m
@@ -212,7 +212,7 @@ static NSMutableSet *textNodes = nil;
*/
while (x != nil)
{
- x = [localRefs globalRef: x type: @"class"];
+ x = [localRefs globalRef: x type: @"super"];
if (x != nil)
{
s = [localRefs unitRef: r type: t unit: x];