View source: R/unicode_utils.R
| clean_youtube_text | R Documentation |
Applies consistent cleaning to YouTube text fields
clean_youtube_text(
text,
remove_html = TRUE,
normalize_whitespace = TRUE,
max_length = NULL
)
text |
Character vector of text to clean |
remove_html |
Boolean. Remove HTML tags. Default: TRUE |
normalize_whitespace |
Boolean. Normalize whitespace. Default: TRUE |
max_length |
Integer. Maximum length (NULL for no limit). Default: NULL |
Cleaned character vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.