Title: Edit post destroys HTML code
Last modified: August 19, 2016

---

# Edit post destroys HTML code

 *  [tonyhir](https://wordpress.org/support/users/tonyhir/)
 * (@tonyhir)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/edit-post-destroys-html-code/)
 * I have a page that displays a Flickr slideshow:-
    [http://www.greenfriends.org.uk/wordpress/?p=345](http://www.greenfriends.org.uk/wordpress/?p=345)
 * When I edit this page to remove a redundant full stop in Visual mode, all the
   HTML code for the slideshow disappears. This does not happen if the editing is
   done in HTML mode. Why on earth does this happen?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/edit-post-destroys-html-code/#post-1476756)
 * Because the Visual Editor is not meant to be used for HTML markup.
 *  Thread Starter [tonyhir](https://wordpress.org/support/users/tonyhir/)
 * (@tonyhir)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/edit-post-destroys-html-code/#post-1477153)
 * Where is this stated in the Help, please?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/edit-post-destroys-html-code/#post-1477154)
 * Why? If you search the forums, you will see that it an oft-repeated fact. The
   Visual editor will strip most HTML markup from post content. If you want to use
   markup, use the HTML tab.
 *  Thread Starter [tonyhir](https://wordpress.org/support/users/tonyhir/)
 * (@tonyhir)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/edit-post-destroys-html-code/#post-1477171)
 * > Why? If you search the forums, you will see that it an oft-repeated fact.
 * Noted. Please amend the help then.

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

The topic ‘Edit post destroys HTML code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [tonyhir](https://wordpress.org/support/users/tonyhir/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/edit-post-destroys-html-code/#post-1477171)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
