[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/js/dist/ -> escape-html.js (summary)

(no description)

File Size: 205 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  escapeAmpersand()
  escapeQuotationMark()
  escapeLessThan()
  escapeAttribute()
  escapeHTML()
  isValidAttributeName()

Functions
Functions that are not part of a class:

__webpack_require__(moduleId)   X-Ref
No description

getDefault()   X-Ref
No description

getModuleExports()   X-Ref
No description

escapeAmpersand(value)   X-Ref
Returns a string with ampersands escaped. Note that this is an imperfect
implementation, where only ampersands which do not appear as a pattern of
named, decimal, or hexadecimal character references are escaped. Invalid
named references (i.e. ambiguous ampersand) are are still permitted.

return: {string} Escaped string.
param: {string} value Original string.

escapeQuotationMark(value)   X-Ref
Returns a string with quotation marks replaced.

return: {string} Escaped string.
param: {string} value Original string.

escapeLessThan(value)   X-Ref
Returns a string with less-than sign replaced.

return: {string} Escaped string.
param: {string} value Original string.

escapeAttribute(value)   X-Ref
Returns an escaped attribute value.

return: {string} Escaped attribute value.
param: {string} value Attribute value.

escapeHTML(value)   X-Ref
Returns an escaped HTML element value.

return: {string} Escaped HTML element value.
param: {string} value Element value.

isValidAttributeName(name)   X-Ref
Returns true if the given attribute name is valid, or false otherwise.

return: {boolean} Whether attribute is valid.
param: {string} name Attribute name to test.



Generated: Mon Jan 7 01:00:05 2019 Cross-referenced by PHPXref 0.7.1