Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Updated putHTML() JavaDoc

luccioman532981b363f3
diff --git a/source/net/yacy/server/serverObjects.java b/source/net/yacy/server/serverObjects.java
index b8e936d43..68090c51f 100644
--- a/source/net/yacy/server/serverObjects.java
+++ b/source/net/yacy/server/serverObjects.java
@@ -290,10 +290,10 @@ public class serverObjects implements Serializable, Cloneable {
}
/**
- * Add a String to the map. The content of the String is escaped to be usable in HTML output.
+ * Add a String to the map. The content of the string is first decoded to removed any URL encoding (application/x-www-form-urlencoded).
+ * Then the content of the String is escaped to be usable in HTML output.
* @param key key name as String.
* @param value a String that will be reencoded for HTML output.
- * @return the modified String that was added to the map.
* @see CharacterCoding#encodeUnicode2html(String, boolean)
*/
public void putHTML(final String key, final String value) {