mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
* 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:
parent
af70cb4c89
commit
4b9a1e2578
@ -58,9 +58,14 @@ static QString credits()
|
|||||||
line = ts.readLine();
|
line = ts.readLine();
|
||||||
if (line.startsWith("@b"))
|
if (line.startsWith("@b"))
|
||||||
out << "<b>" << line.mid(2) << "</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>";
|
out << "<i>" << line.mid(2) << "</i>";
|
||||||
else
|
} else
|
||||||
out << line;
|
out << line;
|
||||||
out << "<br>";
|
out << "<br>";
|
||||||
} while (!line.isNull());
|
} while (!line.isNull());
|
||||||
|
Loading…
Reference in New Issue
Block a user