Santize QR Code URL
-
Hi
Could you create a shortcode attribute for ‘su_qrcode’ that can sanitize the URL in the data attribute?
This shortcode:
[su_qrcode data=”https://feedback.hiberniacollege.com/survey/live-event?eventid=%5Bid%5D&source=qr” size=”200″ align=”center” background=”#ffffff”]
Renders on a smartphone like this:
‘https://feedback.hiberniacollege.com/survey/live-event?eventid=222&source=qr‘
Note the ‘amp;’ instead of &.
I am rendering the shortcode using Formidable Forms.
ThanksJohn
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.