* GuiAbout.cpp:

- unmask e-mail addresses in the credits pane.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31936 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-11-10 14:45:21 +00:00
parent af70cb4c89
commit 4b9a1e2578

View File

@ -58,9 +58,14 @@ static QString credits()
line = ts.readLine();
if (line.startsWith("@b"))
out << "<b>" << line.mid(2) << "</b>";
else if (line.startsWith("@i"))
else if (line.startsWith("@i")) {
if (line.startsWith("@iE-mail")) {
// unmask email
line.replace(QString(" () "), QString("@"));
line.replace(QString(" ! "), QString("."));
}
out << "<i>" << line.mid(2) << "</i>";
else
} else
out << line;
out << "<br>";
} while (!line.isNull());