Skip to content

Commit 841666f

Browse files
committed
* helpers: fix typo in escapeHtml function name for consistency and clarity
1 parent 73bd198 commit 841666f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/helpers/src/string-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export const convertBytes = (str: string) => {
108108
return Number.parseInt(str, 10) * BYTE_UNITS[unit];
109109
};
110110

111-
export const excapeHtml = (html: string) => {
111+
export const escapeHtml = (html: string) => {
112112
return html.replace(/&/g, '&')
113113
.replace(/</g, '&lt;')
114114
.replace(/>/g, '&gt;')

0 commit comments

Comments
 (0)