On 05/22/2013 09:49 PM, Pavel Sanda wrote:
rgh...@lyx.org wrote:
Author: rgheck
Date: Thu May 23 00:38:52 2013
New Revision: 40969
URL: http://www.lyx.org/trac/changeset/40969
Modified: www-user/trunk/farm/cookbook/LyX/credits.inc
==============================================================================
--- www-user/trunk/farm/cookbook/LyX/credits.inc        Wed May 22 08:23:14 
2013        (r40968)
+++ www-user/trunk/farm/cookbook/LyX/credits.inc        Thu May 23 00:38:52 
2013        (r40969)
@@ -17,7 +17,7 @@
  } else
          $output=$output. "<dt><b>${name}</b>";
-$msg = preg_replace("/\n */", "\n ", ltrim($msg));
+$msg = ereg_replace("\n *", "\n  ", ltrim($msg));
Easter egg!!! Richard, did you check our main web pages after this commit? P

Uh, no, but I see the problem. I'm not sure why it was preg before. It's ereg in generate_contributions.py, both in branch and in trunk. Someone must have fixed it directly in credits.inc.

Richard

Reply via email to