# Module: htmlEscape

## Table of contents

### References

- [default](htmlEscape.md#default)

### Text Functions

- [htmlEscape](htmlEscape.md#htmlescape)

## References

### default

Renames and re-exports [htmlEscape](htmlEscape.md#htmlescape)

## Text Functions

### htmlEscape

▸ **htmlEscape**(`input`): `string`

Very dirty function to make a string HTML safe.
Copied from Sindre Sorhus' escape-goat

**`Function`**

htmlEscape

#### Parameters

| Name | Type |
| :------ | :------ |
| `input` | `string` |

#### Returns

`string`

#### Defined in

[src/htmlEscape.js:12](https://github.com/Twipped/js-utils/blob/9c196e3/src/htmlEscape.js#L12)
