$OpenBSD: patch-parser_c,v 1.3 2000/08/15 14:44:53 rohee Exp $ Was a core fixer in a previous version, should still be useful with this one. --- parser.c.orig Fri Aug 4 18:21:05 2000 +++ parser.c Tue Aug 15 16:26:34 2000 @@ -418,6 +418,9 @@ static void ParseTag(Lexer *lexer, Node *node, uint mode) { + if (!node->tag) + return; + if (node->tag->model & CM_EMPTY) { lexer->waswhite = no; @@ -1587,7 +1590,7 @@ continue; } - if (node->tag != tag_li) + if ((node->tag != tag_li) && node->tag) { UngetToken(lexer);