Posted: August 24, 2015 at 12:35 am
|
For the next update, for the Paypal Standard Settings -> Description, please add TARGET=”” to the allow list of html tags so that I can have people open a screenshot (of how to checkout on paypal as a Guest) in a new window so it does not interrupt their checkout process. I’ve had it this way but now see you’ve added tag restrictions and can no longer update. I get this error: ————————— |
|
Also note that the “Only the following HTML tags are allowed:” error when displayed, forces the screen width (and thus all the input fields set to 100%) to go far beyond it’s normal range in the Admin area due to no spaces in the tag list. |
|
And thanks! |
|
Hi Benjamin, target=”_blank” for instance, is not an HTML tag, it’s part of the anchor tag ( As such something like
is acceptable in the PayPal description (tested in EE 4.8.4). Thanks for the heads up about that error message, I’ll as the devs to fix it. |
|
Your example link worked for me and then after some further playing around, I discovered the error was occuring because because my link had an extra space before the target portion: Perhaps it’s worth fixing the pattern match to allow for the occasional accidental stray space like this, but glad I got it working now! Thanks. |
|
It appears my code didn’t get marked up properly in the last post. |
|
well it looks like the extra space doesn’t show there, but basically, if you have an extra space after the href=”” and before the target=”_blank”, it causes the error, I think you get what I mean. |
|
Thanks for letting us know about that, not sure why it would do that as I believe we use WordPress’ own kses filter for the allowed tags. Either way, I’m glad you got it sorted! |
The support post ‘please allow Target html tag in’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.