Tidy

 

4D implementation of tidy.

miyako/4d-plugin-tidy-html


status:=Tidy (data{;options})
Parameter
Type
Description
data
BLOB
HTML source
options
OBJECT
see below
status
OBJECT
see below

Options

Property Type Description
accessibilityCheckLevel LONGINT  
altText TEXT  
anchorAsName BOOLEAN  
asciiChars BOOLEAN  
blockTags BOOLEAN  
bodyOnly BOOLEAN  
breakBeforeBR BOOLEAN  
coerceEndTags BOOLEAN  
CSSPrefix BOOLEAN  
decorateInferredUL BOOLEAN  
doctype TEXT  
dropEmptyElems BOOLEAN  
dropEmptyParas BOOLEAN  
dropPropAttrs BOOLEAN  
duplicateAttrs BOOLEAN  
emacs BOOLEAN  
emptyTags BOOLEAN  
encloseBlockText BOOLEAN  
encloseBodyText BOOLEAN  
escapeCdata BOOLEAN  
escapeScripts BOOLEAN  
fixBackslash BOOLEAN  
fixComments BOOLEAN  
fixUri BOOLEAN  
gDocClean BOOLEAN  
hideComments BOOLEAN  
htmlOut BOOLEAN  
indentSpaces BOOLEAN  
indentAttributes LONGINT  
indentCdata LONGINT  
indentContent LONGINT  
inlineTags BOOLEAN  
joinClasses BOOLEAN  
joinStyles BOOLEAN  
keepFileTimes BOOLEAN  
keepTabs BOOLEAN  
literalAttribs BOOLEAN  
logicalEmphasis BOOLEAN  
lowerLiterals BOOLEAN  
makeBare BOOLEAN  
makeClean BOOLEAN  
mark BOOLEAN  
mergeDivs BOOLEAN  
mergeEmphasis BOOLEAN  
mergeSpans BOOLEAN  
metaCharset BOOLEAN  
NCR BOOLEAN  
newline BOOLEAN  
numEntities BOOLEAN  
omitOptionalTags BOOLEAN  
outputBOM BOOLEAN  
pPrintTabs BOOLEAN  
preserveEntities BOOLEAN  
preTags BOOLEAN  
priorityAttributes BOOLEAN  
punctWrap BOOLEAN  
quiet BOOLEAN  
quoteAmpersand BOOLEAN  
quoteMarks BOOLEAN  
quoteNbsp BOOLEAN  
replaceColor BOOLEAN  
showErrors BOOLEAN  
showInfo BOOLEAN  
showMarkup BOOLEAN  
showMetaChange BOOLEAN  
showWarnings BOOLEAN  
skipNested BOOLEAN  
sortAttributes BOOLEAN  
strictTagsAttr BOOLEAN  
styleTags BOOLEAN  
tabSize BOOLEAN  
upperCaseAttrs BOOLEAN  
upperCaseTags BOOLEAN  
useCustomTags BOOLEAN  
vertSpace BOOLEAN  
warnPropAttrs BOOLEAN  
word2000 BOOLEAN  
wrapAsp BOOLEAN  
wrapAttVals BOOLEAN  
wrapJste BOOLEAN  
wrapLen BOOLEAN  
wrapPhp BOOLEAN  
wrapScriptlets BOOLEAN  
wrapSection BOOLEAN  
writeBack BOOLEAN  
xhtmlOut BOOLEAN  
xmlDecl BOOLEAN  
xmlOut BOOLEAN  
xmlPIs BOOLEAN  
xmlSpace BOOLEAN  
xmlTags BOOLEAN  
encoding TEXT  
language TEXT  

Status

Property Type Description
status LONGINT return value of tidyParseBuffer
detectedGenericXml BOOLEAN  
detectedHtmlVersion BOOLEAN  
detectedXhtml BOOLEAN  
html TEXT  
info TEXT