Skip to contents

Escape HTML strings so that they will be displayed 'as-is' in websites.

Usage

html_asis(s, space = TRUE)

Arguments

s

characters

space

whether to also escape white space, default is true.

Value

An R string

Examples


html_asis("<a><----> <b>")
#> &lt;a&gt;&lt;----&gt;&nbsp;&lt;b&gt;