!7 static Class mainBot; static S html(S subUri, Map params) { S q = params.get("q"); S styleClass = params.get("styleClass"); S style = params.get("style"); S a = trim((S) call(mainBot, "webAnswer", q)); if (isEmpty(a)) a = "(no response)"; S s = htmlencode(a); if (!empty(styleClass)) s = "" + s + ""; if (!empty(style)) s = "" + s + ""; ret s; }