diff --git a/html/src/THtml.cxx b/html/src/THtml.cxx
index 67c974f6d8aa386a8484d4d8ec971c2c13b6ad58..52cb51882b1b4308e7455a560df025e4e7e43f34 100644
--- a/html/src/THtml.cxx
+++ b/html/src/THtml.cxx
@@ -980,8 +980,10 @@ void THtml::CreateListOfClasses(const char* filter)
       }
       if (module) {
          if (!strcmp(module->GetName(), "REFLEX")
-            || !strcmp(module->GetName(), "MATHCORE")
-            || !strcmp(module->GetName(), "MATHMORE")) {
+             // take class doc from header, so ignore sources:
+             //|| !strcmp(module->GetName(), "MATHCORE")
+             //|| !strcmp(module->GetName(), "MATHMORE")
+             ) {
             TString srcFile = gSystem->BaseName(impname);
             srcFile.ReplaceAll(".h", ".cxx");
             gSystem->PrependPathName(module->GetSourceDir(), srcFile);