X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fgenerate_contributions.py;h=336d0c19beac6fcec81e9b8b6806a616ff92c3ea;hb=ecda7b0d557de2075509ebc610c22f009443f952;hp=ff96f0d154e83f79840702b4cb389d0b4d758352;hpb=a5a2d0c3983cba897f94af99aee0669d4580fe61;p=lyx.git
diff --git a/lib/generate_contributions.py b/lib/generate_contributions.py
index ff96f0d154..336d0c19be 100755
--- a/lib/generate_contributions.py
+++ b/lib/generate_contributions.py
@@ -152,9 +152,12 @@ function credits_contrib($name, $email, $msg) {
$email = str_replace(' () ', '@', $email);
$email = str_replace(' ! ', '.', $email);
-if (isset($email) && $email != "")
- $output=$output. "
[[mailto:${email} | ${name}]]";
-else
+if (isset($email) && $email != "") {
+ if (strncasecmp($email,"http",4) == 0)
+ $output =$output. "[[${email} | ${name}]]";
+ else
+ $output=$output. "[[mailto:${email} | ${name}]]";
+} else
$output=$output. "${name}";
$msg = ereg_replace("\\n *", "\\n ", ltrim($msg));
@@ -1007,7 +1010,7 @@ contributers = [
u"Added native support for \makebox to mathed. Several bug fixes, both to the source code and to the llncs layout file"),
contributer(u"LibreOffice Team",
- "http://http://www.libreoffice.org/",
+ "http://www.libreoffice.org/",
"LGPL",
"",
"",
@@ -1159,7 +1162,7 @@ contributers = [
u"Improvements to the outliner."),
contributer(u"Oxygen Team",
- "http://www.oxygen-icons.org",
+ "http://www.oxygen-icons.org/",
"LGPL",
"",
"",