Escaping apostrophes

WordPress
September 23, 2020 18:38:14
meadmin
Topics: 2
Messages: 2
You can see in the attached file, at around the end of the document, that there's the word "DON\'T KNOW". How can we keep that slash from appearing before the apostrophe?
September 24, 2020 09:42:51
E2Pdf
Topics: 7
Messages: 3614
Support
Unfortunately we were not able to replicate the issue. Are you using "Single" line field with predefined value or its user input? If possible, can you please attach some screenshots how its setup?

Meanwhile you can try to use shortcode wrapper [e2pdf-format-output] to replace it.

[e2pdf-format-output search="\\'" replace="'"][meta key="wpcf-single-line"][/e2pdf-format-output]

We remain at your service.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.