Title: WP creates incorrect HTML
Last modified: August 30, 2016

---

# WP creates incorrect HTML

 *  [funsail](https://wordpress.org/support/users/funsail/)
 * (@funsail)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-creates-incorrect-html/)
 * If you put in source
    `<a name="b"></a>` the output will be `<br /> <a name="
   b"></a></p>` Note the missing opening p

Viewing 1 replies (of 1 total)

 *  [Colin McDermott](https://wordpress.org/support/users/woodsandhillsplc/)
 * (@woodsandhillsplc)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/wp-creates-incorrect-html/#post-6606176)
 * It is probably trying to clean things up somehow…
 * One way I know you can do that is to do something like:
 * `<a name="b">&nbsp;</a>`

Viewing 1 replies (of 1 total)

The topic ‘WP creates incorrect HTML’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Colin McDermott](https://wordpress.org/support/users/woodsandhillsplc/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/wp-creates-incorrect-html/#post-6606176)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
