Convert a HTML file into a HTML block to be copied and pasted for CMS.
Source:R/convert_html2cms.R
convert_html2cms.Rd
Convert a HTML file into a HTML block to be copied and pasted for CMS.
Arguments
- in_text
character. Character vector representing the HTML file to convert.
- full_html
logical. If TRUE, produce complete html output, convenient when drafting a document. When this option is enabled, tag and id and remove_script options are silently ignored.
- tag
character. Outer-most tag for the resulting HTML snippet.
- id
character. id attribute for the outer-most tag.
- remove_script
logical. If TRUE, script tags are all stripped out.