DPDK Architecture  ->  Library (v3.4.4)

Html

<Html /> can be used to dangerously set HTML in a component.

Usage

strong and with styling
<Html>
  {`<strong style="color: var(--color-new-background)">strong and with styling</strong>`}
</Html>
Script tags and style tags are removed automatically!
<Html>
  {`
    Script tags and style tags are removed automatically!
    <script>console.log("Hello world");</script>
    <style>body { background-color: red; }</style>
  `}
</Html>
Upgrade to HTTPS: Link
<Html replace={[['http://', 'https://']]}>
  {`Upgrade to HTTPS: <a href="http://architecture.dpdk.com">Link</a>`}
</Html>
Last modifiedThursday, February 4, 2021, 1:57:48 PM UTC
Last authorColin van Eenige
Commit ID3027f87