You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.3 KiB

% Generated by roxygen2: do not edit by hand
6 years ago
% Please edit documentation in R/tidy.r
\name{tidy_html}
\alias{tidy_html}
6 years ago
\title{Tidy HTML/XML/XHTML Documents}
6 years ago
\usage{
6 years ago
tidy_html(content, options = list(TidyXhtmlOut = TRUE))
6 years ago
}
\arguments{
6 years ago
\item{content}{atomic character or raw vector of content to tidy}
\item{options}{named list of options}
}
\value{
Atomic character vector of tidy HTML/XML/XHTML content
6 years ago
}
\description{
Currently supported options: \code{TidyAltText}, \code{TidyBodyOnly},
\code{TidyBreakBeforeBR}, \code{TidyCoerceEndTags}, \code{TidyCoerceEndTags},
\code{TidyDoctype}, \code{TidyDropEmptyElems}, \code{TidyDropEmptyParas},
\code{TidyFixBackslash}, \code{TidyFixComments}, \code{TidyHideComments},
\code{TidyHtmlOut}, \code{TidyIndentContent}, \code{TidyIndentSpaces},
\code{TidyJoinClasses}, \code{TidyJoinStyles}, \code{TidyLogicalEmphasis},
\code{TidyMakeBare}, \code{TidyMakeClean}, \code{TidyMark},
\code{TidyOmitOptionalTags}, \code{TidyReplaceColor}, \code{TidyTabSize},
\code{TidyUpperCaseAttrs}, \code{TidyUpperCaseTags}, \code{TidyWord2000},
\code{TidyWrapLen}, \code{TidyXhtmlOut}, \code{TidyXmlDecl}, \code{TidyXmlOut},
\code{TidyXmlTags}.
6 years ago
}
6 years ago
\references{
\url{https://github.com/htacg/tidy-html5/blob/master/include/tidyenum.h}
(for definitions of the options supported above).
}
6 years ago