s or interface in java.lang" class="external-link">String</a>&nbsp;html,
 <a href="HtmlEncoding.html" title="enum class in burp.api.montoya.utilities">HtmlEncoding</a>&nbsp;encoding)</span></div>
<div class="block">Encode HTML text.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>html</code> - <code>String</code> to be encoded.</dd>
<dd><code>encoding</code> - <a href="HtmlEncoding.html" title="enum class in burp.api.montoya.utilities"><code>HtmlEncoding</code></a> to be used.</dd>
<dt>Returns:</dt>