Title: Custom HTML for button
Last modified: January 12, 2022

---

# Custom HTML for button

 *  Resolved [tophr](https://wordpress.org/support/users/tophr/)
 * (@tophr)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/custom-html-for-button/)
 * Hello,
    For the plugin I’ve been entering custom HTML in the Text field as a 
   custom button style in order to use FontAwesome icons. `<i class="far fa-print"
   aria-hidden="true"></i> <i class="far fa-envelope" aria-hidden="true"></i> <i
   class="far fa-file-pdf" aria-hidden="true"></I>` Up until at least 5.0, this 
   worked fine as you can see here: [https://www.nch.org/doctors/fizan-abdullah/](https://www.nch.org/doctors/fizan-abdullah/)
 * After updating to 5.2.0, the HTML started being output to the page as escaped
   text rather than HTML. I understand this is probably intentional, so wondering
   if there’s a way to accommodate custom HTML for the button text still. Otherwise
   I can create an image to use as a workaround, but would rather avoid if possible.
 * Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Print & PDF by PrintFriendly](https://wordpress.org/support/users/printfriendly/)
 * (@printfriendly)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/custom-html-for-button/#post-15249797)
 * We are looking into this.
 *  Plugin Author [Print & PDF by PrintFriendly](https://wordpress.org/support/users/printfriendly/)
 * (@printfriendly)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/custom-html-for-button/#post-15272208)
 * HTML in custom text will work from version 5.2.1 onwards
 *  Thread Starter [tophr](https://wordpress.org/support/users/tophr/)
 * (@tophr)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/custom-html-for-button/#post-15274676)
 * Confirming this update has fixed the issue. Thank you!
 *  Plugin Author [Print & PDF by PrintFriendly](https://wordpress.org/support/users/printfriendly/)
 * (@printfriendly)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/custom-html-for-button/#post-15305600)
 * Hi,
 * If you like our plugin, we would very much appreciate if you could quickly rate
   the plugin, just to help us spread the word.
 * [https://wordpress.org/support/plugin/printfriendly/reviews/](https://wordpress.org/support/plugin/printfriendly/reviews/)`

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom HTML for button’ is closed to new replies.

 * ![](https://ps.w.org/printfriendly/assets/icon-256x256.png?rev=2951152)
 * [Print, PDF, Email by PrintFriendly](https://wordpress.org/plugins/printfriendly/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/printfriendly/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/printfriendly/)
 * [Active Topics](https://wordpress.org/support/plugin/printfriendly/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/printfriendly/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/printfriendly/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Print & PDF by PrintFriendly](https://wordpress.org/support/users/printfriendly/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/custom-html-for-button/#post-15305600)
 * Status: resolved