Apostrophe in category name may affect script
-
Hi,
Plausible script tag includes the Post category (event-category=''
). But when the category name has an apostrophe'
(U+0027) in it, the output may break things.
See below. The category named “John’s stuff” will outputevent-category='John's stuff'
where the apostrophe inJohn's
may break theevent-category=''
syntax.<script defer data-domain='domain.tld'
data-api='https://domaine.tld/wp-json/f3c831/v1/19cb/7557d478'
data-cfasync='false'
event-author='author'
event-category='John's stuff'
src="https://plausible.local/wp-content/uploads/3f0810ba81/1929006b.js?ver=1726748204" id="plausible">Not sure this is an actual issue, this doesn’t feel right.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.