EVOLUTION-MANAGER
Edit File: safeLabel.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Sanitize textual labels</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for safeLabel {leaflet}"><tr><td>safeLabel {leaflet}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Sanitize textual labels</h2> <h3>Description</h3> <p>This is a helper function used internally to HTML-escape user-provided labels. It prevents strings from unintentionally being treated as HTML when they are intended to be plaintext. </p> <h3>Usage</h3> <pre> safeLabel(label, data) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>label</code></td> <td> <p>A vector or list of plain characters or HTML (marked by <code><a href="../../htmltools/html/HTML.html">HTML</a></code>), or a formula that resolves to such a value.</p> </td></tr> <tr valign="top"><td><code>data</code></td> <td> <p>A data frame over which the formula is evaluated.</p> </td></tr> </table> <hr /><div style="text-align: center;">[Package <em>leaflet</em> version 2.0.3 <a href="00Index.html">Index</a>]</div> </body></html>