diff --git a/html/src/THtml.cxx b/html/src/THtml.cxx index 5e27e6fa55f2cfbc626b7cb14bb51541fbd25011..6aeff8c888797e25b23b63e70b178bfb6a776c85 100644 --- a/html/src/THtml.cxx +++ b/html/src/THtml.cxx @@ -289,6 +289,8 @@ void THtml::TFileDefinition::NormalizePath(TString& filename) const TPRegexp reg(TString::Format("%s[^%s]+%s\\.\\.%s", d, d, d, d)); while (reg.Substitute(filename, TString(d[0]), "", 0, 1)) {} } + if (filename.BeginsWith("./") || filename.BeginsWith(".\\")) + filename.Remove(0,2); }