]> git.wincent.com - wikitext.git/commit
Automatically append link in _Wikitext_hyperlink
authorWincent Colaiuta <win@wincent.com>
Thu, 7 May 2009 22:39:18 +0000 (00:39 +0200)
committerWincent Colaiuta <win@wincent.com>
Thu, 7 May 2009 22:39:18 +0000 (00:39 +0200)
commit654f8623835b44e7c285960e92310235ae10744f
tree8709bb6755c7b3401b3b52f520ded73d75b57d01
parent3178948687fb6356706d43b00e481e69c07bb2e1
Automatically append link in _Wikitext_hyperlink

All call sites of _Wikitext_hyperlink take the return value and
append it to the the parser->output buffer.

Avoid this repetition by performing the output automatically
from within the function itself so that the callers don't
have to do it.

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