Title: HTML code disappear after saving in post
Last modified: August 31, 2016

---

# HTML code disappear after saving in post

 *  [mleung07](https://wordpress.org/support/users/mleung07/)
 * (@mleung07)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/html-code-disappear-after-saving-in-post/)
 * I have some HTML code in the post for social sharing.
 * Like this one:
    - 
    - And after saving, it will become:
    - <i class=”fa fa-facebook”></i>
    - And this will make the sharing function can’t work properly.
    - Is there any method to prevent wordpress changing my code here?
    - Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [mleung07](https://wordpress.org/support/users/mleung07/)
 * (@mleung07)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/html-code-disappear-after-saving-in-post/#post-7069336)
 * Sorry here is the codes
 * Before:
 * `<li><a class="addthis_button_facebook"><i class="fa fa-facebook"></i></a></li
   >`
 * After:
 * `<li><i class="fa fa-facebook"></i></li>`
 * 
 * And those code are in the post’s content

Viewing 1 replies (of 1 total)

The topic ‘HTML code disappear after saving in post’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [social](https://wordpress.org/support/topic-tag/social/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [mleung07](https://wordpress.org/support/users/mleung07/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/html-code-disappear-after-saving-in-post/#post-7069336)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
