Skip to content

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

allow html in greeting line since that is set by administrator only. html in that line may be wanted

Michael Christen4656bb03654e
diff --git a/htroot/index.java b/htroot/index.java
index 4780a8be3..2abbb162b 100644
--- a/htroot/index.java
+++ b/htroot/index.java
@@ -89,7 +89,7 @@ public class index {
// we create empty entries for template strings
String promoteSearchPageGreeting = env.getConfig(SwitchboardConstants.GREETING, "");
if (env.getConfigBool(SwitchboardConstants.GREETING_NETWORK_NAME, false)) promoteSearchPageGreeting = env.getConfig("network.unit.description", "");
- prop.putHTML(SwitchboardConstants.GREETING, promoteSearchPageGreeting);
+ prop.put(SwitchboardConstants.GREETING, promoteSearchPageGreeting);
prop.put(SwitchboardConstants.GREETING_HOMEPAGE, sb.getConfig(SwitchboardConstants.GREETING_HOMEPAGE, ""));
prop.put(SwitchboardConstants.GREETING_LARGE_IMAGE, sb.getConfig(SwitchboardConstants.GREETING_LARGE_IMAGE, ""));
prop.putHTML("former", former);