Title: Markdown href bug
Last modified: August 18, 2016

---

# Markdown href bug

 *  [maphew](https://wordpress.org/support/users/maphew/)
 * (@maphew)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/markdown-href-bug/)
 * Does anybody else have Markdown working with plain-style href links?
    Whenever
   I put in link like `<http ://mappa.mundi.net>` the text is stripped from the 
   output version while the edit version has `</http>` appended to the text. Multiple
   links mean multiple `</http>` appends. I’m using WP1.2 and Markdown php v1.0,
   Sat 21 Aug 2004 Actually, I’d much rather not have to use angle brackets at all.
   Why not just convert a bare address to a clickable link just like most email 
   programs do? e.g. `http://wordpress.org` becomes ` `

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

 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/markdown-href-bug/#post-89219)
 * Are you putting a space between the `http` and the `://`, because there shouldn’t
   be a space. Like this: `<http://mappa.mundi.net>`
 *  Thread Starter [maphew](https://wordpress.org/support/users/maphew/)
 * (@maphew)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/markdown-href-bug/#post-89366)
 * eep, no, there are no spaces in my wordpress articles, just in the forum message(
   though how I managed to do that I don’t know).
 *  Anonymous
 * [21 years, 9 months ago](https://wordpress.org/support/topic/markdown-href-bug/#post-89378)
 * Hum, this problem arrise because WordPress calls a function called “balanceTags”
   on your post before it is filtered by Markdown. This function assume that the
   URL is an unclosed HTML tag and close it with a `</html>`.
    The idea is not bad
   really, except that it should be done *after* Markdown has filtered the text.
   You can solve this problem by unchecking the “WordPress should correct invalidly
   nested XHTML automatically” box in Option >Â Writing from the admin page. You
   will lose the automatic check for balenced tags, but at least URLs will work 
   correctly. — Michel Fortin

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

The topic ‘Markdown href bug’ is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: Anonymous
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/markdown-href-bug/#post-89378)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
