Skip to content

Commit

Permalink
Update lib/str.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Skałka <[email protected]>
  • Loading branch information
blazejkustra and Skalakid authored Jun 4, 2024
1 parent 8c89c56 commit 03e9cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/str.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ const Str = {
/**
* Escape text while preventing any sort of double escape, so 'X & Y' -> 'X &amp; Y' and 'X &amp; Y' -> 'X &amp; Y'
*
* @param s the string to escape
* @return string the escaped string
* @param s The string to escape
* @returns The escaped string
*/
safeEscape(s: string): string {
return lodashEscape(lodashUnescape(s));
Expand Down

0 comments on commit 03e9cc2

Please sign in to comment.