diff options
Diffstat (limited to 'kalzium/src/element.cpp')
-rw-r--r-- | kalzium/src/element.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kalzium/src/element.cpp b/kalzium/src/element.cpp index 3fc7e493..2596e2f7 100644 --- a/kalzium/src/element.cpp +++ b/kalzium/src/element.cpp @@ -68,8 +68,8 @@ TQString Element::parsedOrbits( bool canBeEmpty ) TQString orbits = m_orbits; TQRegExp rxs("([a-z])([0-9]+)"); TQRegExp rxb("([a-z]{2}) ",false); - orbits.replace(rxs,"\\1<sup>\\2</sup>"); //superscript around electron number - orbits.replace(rxb,"<b>\\1</b> "); //bold around element symbols + orbits.tqreplace(rxs,"\\1<sup>\\2</sup>"); //superscript around electron number + orbits.tqreplace(rxb,"<b>\\1</b> "); //bold around element symbols return orbits; } |