Extra quote mark in dropdown list
-
There was this thread already, but it is closed with no real resolution:
https://ww.wp.xz.cn/support/topic/plugin-contact-form-7-quotes-added-to-drop-down-item?replies=4I have the same problem. Here is my backend select:
[select* Paikkakuntavalinta first_as_label "Valitse paikkakunta, jota asia koskee" "Kempele|Kempele <[email protected]>" "Kalajoki|Kalajoki <[email protected]>" "Raahe|Raahe <[email protected]>" "Oulainen|Oulainen <[email protected]>" "Oulu|Oulu <[email protected]>" "Ylivieska|Ylivieska <[email protected]>"]Which outputs this to frontend:
Kempele Kalajoki "Raahe Oulainen Oulu YlivieskaThere is the extra quote mark right before Raahe.
It seems this is a conflict between the pipe and e-mail address, and it only shows on that one item both on frontend and in e-mail.
Any ideas?
EDIT: the email address in question begins with letter p. So there is <p at the beginning of the address. Could there be a mix-up with html tags, as that on looks like <p>, and the former thread I linked at the top of this post probably had <br in the beginning of the email address.
If I remove the letter p from the beginning of the address, the output is ok. But obviously this is not a solution.
The topic ‘Extra quote mark in dropdown list’ is closed to new replies.