diff --git a/libkode/style.cpp b/libkode/style.cpp index d658a733..7572d2b7 100644 --- a/libkode/style.cpp +++ b/libkode/style.cpp @@ -58,6 +58,7 @@ QString Style::className(const QString &str) cl.replace(QLatin1Char('-'), QLatin1Char('_')); cl.replace(QLatin1Char(';'), QLatin1Char('_')); cl.replace(QLatin1Char(':'), QLatin1Char('_')); + cl.replace(QLatin1Char('.'), QLatin1Char('_')); return cl; }