fix: sanitize quotes

This commit is contained in:
Cory Dransfeldt 2024-03-15 20:09:27 -07:00
parent 79b1120de7
commit e6dab2a329
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

View file

@ -35,6 +35,7 @@ export default {
if (!string) return
return string.replace(utmPattern, '')
},
replaceQuotes: (string) => string.replace(/"/g, "'"),
// analytics
getPopularPosts: (posts, analytics) => {