sparksp/laravel-markdown — pull request #2 by lukemartin (2012-06-21 10:59:51+00:00)
Title: Inline anchors or images are either parsed incorrectly, or throw a PHP error (undefined offset: 6)

```php
$text = "[Link text](http://google.com/)";
echo Sparkdown\Markdown($text);
// returns
// Unhandled Exception: undefined offset: 6
```

And

```php
$text = "[Link text](http://google.com/ 'Title')";
echo Sparkdown\Markdown($text);
// returns
// Link text
```

(the same applies for inline images)

I've modified `_doAnchors_inline_callback` and `_doImages_inline_callback` to check offset 7 for the title text (not 6), and am just returning `null` if it's not present.