Title: wrong html generated
Last modified: January 22, 2020

---

# wrong html generated

 *  Resolved [rvnd](https://wordpress.org/support/users/rvnd/)
 * (@rvnd)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wrong-html-generated/)
 * The shortcode `[icon name="facebook-f"]` generates `<i class="fas fa-facebook-
   f">&nbsp;</i>` and displays a broken FA icon.
 * If I use the actual icon markup from the FA site, it seems it should be `<i class
   ="fab fa-facebook-f"></i>`. I.E. `fas` vs `fab`.
 * Hope you can solve or advise. thank you.

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

 *  Thread Starter [rvnd](https://wordpress.org/support/users/rvnd/)
 * (@rvnd)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wrong-html-generated/#post-12353023)
 * I stand corrected: you mention usage of the prefix=”fab” method. All good.
 *  Plugin Author [mlwilkerson](https://wordpress.org/support/users/mlwilkerson/)
 * (@mlwilkerson)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wrong-html-generated/#post-12354382)
 * cool

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

The topic ‘wrong html generated’ is closed to new replies.

 * ![](https://ps.w.org/font-awesome/assets/icon-256x256.png?rev=1991998)
 * [Font Awesome](https://wordpress.org/plugins/font-awesome/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/font-awesome/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/font-awesome/)
 * [Active Topics](https://wordpress.org/support/plugin/font-awesome/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/font-awesome/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/font-awesome/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mlwilkerson](https://wordpress.org/support/users/mlwilkerson/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/wrong-html-generated/#post-12354382)
 * Status: resolved