Skip to content

Commit

Permalink
fix: decode apostrophe's
Browse files Browse the repository at this point in the history
Fixes #32
  • Loading branch information
harlan-zw committed Mar 26, 2023
1 parent 423639d commit ec8000a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/nitro/utils-pure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ function decodeHtmlEntities(obj: Record<string, string | any>) {
.replace(/&gt;/g, '>')
.replace(/&amp;/g, '&')
.replace(/&quot;/g, '"')
.replace(/&#39;/g, '\'')
.replace(/&#x27;/g, '\'')
.replace(/&#x2F;/g, '/')
}
Expand Down

0 comments on commit ec8000a

Please sign in to comment.