]> git.wincent.com - wikitext.git/commit
Handle blank link text
authorWincent Colaiuta <win@wincent.com>
Fri, 8 May 2009 11:41:31 +0000 (13:41 +0200)
committerWincent Colaiuta <win@wincent.com>
Fri, 8 May 2009 11:41:31 +0000 (13:41 +0200)
commit39e9ff56096acfcb3b296637b5f3cf58bdce0741
treeb455625e7751a3857418bd7abcd9796fd851bc19
parent12af29824ba129b23aeb8c030adc16576abd4948
Handle blank link text

We already correctly handled zero-width link text (eg. [[foo|]]),
but did not check for link text which was non-zero-width but
blank (eg. [[foo| ]]).

Signed-off-by: Wincent Colaiuta <win@wincent.com>
ext/parser.c
spec/internal_link_spec.rb