Replace special character

10 November, 2023 03:50:32
Interpro
Topics: 1
Messages: 2
Hello,

We're pulling through a special character (× multiplication sign) from product dimensions into the CF7 form, and it's showing as the HTML code instead of the symbol in the PDF:

150×600

Can we search/replace this with a normal 'x' character so it becomes 150x600?

Many thanks
10 November, 2023 07:00:10
E2Pdf
Support
Topics: 7
Messages: 3165
Hello,

Try please to use the construction below:

[e2pdf-format-output search="×" replace="×"][text-418][/e2pdf-format-output]

or

[e2pdf-format-output filter="html_entity_decode"][text-418][/e2pdf-format-output]

* [text-418] - must be replaced with your field shortcode.

P.S. If you are using an "HTML" object, it could be required to turn on Disable WYSIWYG Editor option.

We would really appreciate your feedback at WordPress.org!
13 November, 2023 03:41:29
Interpro
Topics: 1
Messages: 2
I tried the first way and that worked like a charm, thank you!

All the best