822931
diff -up doxygen-1.9.1/src/docparser.cpp.me doxygen-1.9.1/src/docparser.cpp
822931
--- doxygen-1.9.1/src/docparser.cpp.me	2021-02-10 10:52:09.481086282 +0100
822931
+++ doxygen-1.9.1/src/docparser.cpp	2021-02-10 10:55:32.418781686 +0100
822931
@@ -951,7 +951,7 @@ static void handlePendingStyleCommands(D
822931
       children.append(new DocStyleChange(parent,g_nodeStack.count(),sc->style(),sc->tagName(),FALSE));
822931
       g_initialStyleStack.push(sc);
822931
       g_styleStack.pop();
822931
-      sc = g_styleStack.top();
822931
+      sc = !g_styleStack.isEmpty() ? g_styleStack.top() : 0;
822931
     }
822931
   }
822931
 }