crash.software
Projects
Pull Requests
Issues
Builds
kitsec-core
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
kitsec-core
Files
🤬
Sign In
linted_version
ROOT
/
docs
/
my-website
/
node_modules
/
html-minifier-terser
/
src
/
htmlminifier.js
Search
History
1369 lines
|
ISO-8859-1
|
45 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
CleanCSS
decode
HTMLParser
endTag
RelateUrl
TokenChain
Terser
utils
trimWhitespace
(str)
collapseWhitespaceAll
(str)
collapseWhitespace
(str, options, trimLeft, trimRight, collapseAll)
createMapFromString
inlineTags
inlineTextTags
selfClosingInlineTags
collapseWhitespaceSmart
(str, prevTag, nextTag, options)
isConditionalComment
(text)
isIgnoredComment
(text, options)
isEventAttribute
(attrName, options)
canRemoveAttributeQuotes
(value)
attributesInclude
(attributes, attribute)
attrValue
isAttributeRedundant
(tag, attrName, attrValue, attrs)
executableScriptsMimetypes
keepScriptsMimetypes
isScriptTypeAttribute
(attrValue)
keepScriptTypeAttribute
(attrValue)
isExecutableScript
(tag, attrs)
isStyleLinkTypeAttribute
(attrValue)
isStyleSheet
(tag, attrs)
isSimpleBoolean
isBooleanValue
isBooleanAttribute
(attrName, attrValue)
isUriTypeAttribute
(attrName, tag)
isNumberTypeAttribute
(attrName, tag)
isLinkType
(tag, attrs, value)
isMediaQuery
(tag, attrs, attrName)
srcsetTags
isSrcset
(attrName, tag)
cleanAttributeValue
(tag, attrName, attrValue, options, attrs)
isMetaViewport
(tag, attrs)
isContentSecurityPolicy
(tag, attrs)
ignoreCSS
(id)
wrapCSS
(text, type)
unwrapCSS
(text, type)
cleanConditionalComment
(comment, options)
processScript
(text, options, currentAttrs)
optionalStartTags
optionalEndTags
headerTags
descriptionTags
pBlockTags
pInlineTags
rubyTags
rtcTag
optionTag
tableContentTags
tableSectionTags
cellTags
topLevelTags
compactTags
looseTags
trailingTags
htmlTags
canRemoveParentTag
(optionalStartTag, tag)
isStartTagMandatory
(optionalEndTag, tag)
canRemovePrecedingTag
(optionalEndTag, tag)
reEmptyAttribute
canDeleteEmptyAttribute
(tag, attrName, attrValue, options)
hasAttrName
(name, attrs)
canRemoveElement
(tag, attrs)
canCollapseWhitespace
(tag)
canTrimWhitespace
(tag)
normalizeAttr
(attr, attrs, tag, options)
buildAttr
(normalized, hasUnarySlash, options, isLast, uidAttr)
identity
(value)
processOptions
(values)
options
(key)
uniqueId
(value)
specialContentTags
options
sortAttributes
sortClassName
log
createSortFns
(value, options, uidIgnore, uidAttr)
attrNames
(attrs)
shouldSkipUID
(token, uid)
shouldSkipUIDs
(token)
scan
(input)
value
tag
prevTag
nextTag
minify
(value, options, partialMarkup)
buffer
(match, group1)
(re)
_canCollapseWhitespace
(tag, attrs)
_canTrimWhitespace
(tag, attrs)
removeStartTag
()
removeEndTag
()
trimTrailingWhitespace
(index, nextTag)
squashTrailingWhitespace
(nextTag)
joinResultSegments
(results, options, restoreCustom, restoreIgnore)
exports
minify
(value, options)
All occurrences
Please wait...
Page is in error, reload to recover