Description Usage Arguments Value Author(s) See Also Examples
Remove HTML tags from a string.
1 | clean_html(x)
|
x |
A |
character
, x
with HTML tags removed.
Brendan Knapp brendan.g.knapp@gmail.com
stringr::str_replace_all
, stringr::str_squish()
, stringr::str_trim()
1 2 3 4 5 6 7 8 9 10 | library(salinasr)
html <- "<html>
<body>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>"
clean_html(html)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.