From 6af3744a0bdab3a610dd3f501e0ff61f467d99ed Mon Sep 17 00:00:00 2001 From: allo Date: Mon, 23 May 2005 20:21:58 +0000 Subject: [PATCH] http://www.yacy-forum.de/viewtopic.php?p=3368 fixed: Newlines are now converted correctly. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@166 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/ViewProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/ViewProfile.java b/htroot/ViewProfile.java index 1b7aadfb0..17070bfa0 100644 --- a/htroot/ViewProfile.java +++ b/htroot/ViewProfile.java @@ -104,7 +104,7 @@ public class ViewProfile { while (i.hasNext()) { entry = (Map.Entry) i.next(); String key=(String)entry.getKey(); - String value=(String)entry.getValue(); + String value=((String)entry.getValue()).replaceAll("\r","").replaceAll("\\\\n","\n"); //all known Keys which should be set as they are if(knownKeys.contains(key)){ prop.put("success_"+key, 1);