chjj/marked — pull request #456 by Feder1co5oave (2014-07-28 13:15:36+00:00)
Title: Clean segments

PR for #450

I hope it doesn't seem overkilling, I kept it as small as possible.
Comments are welcome. I'll be posting some test units, if I can manage to make them work.

Meanwhile I tested it with
```markdown
### Heading with a [link](http://github.com/)

### Heading with some _italic text_

### Or some **strong**
(which doesn't really make any difference, here)

### Or even `code`

### What about ~~strikethrough~~
```

and I got

```html

Heading with a link

Heading with some italic text

Or some strong

(which doesn't really make any difference, here)

Or even code

What about strikethrough

```

which looks good to me.