Newlines are now converted correctly.


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@166 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 20 years ago
parent 6ee564c482
commit 6af3744a0b

@ -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);

Loading…
Cancel
Save