]> git.wincent.com - wikitext.git/commitdiff
Simplify Wikitext_parser_sanitize_link_target
authorWincent Colaiuta <win@wincent.com>
Thu, 29 Nov 2012 07:50:56 +0000 (23:50 -0800)
committerWincent Colaiuta <win@wincent.com>
Thu, 29 Nov 2012 07:50:56 +0000 (23:50 -0800)
Commit 778839e made the wiki_append_sanitized_link_target function more
flexible by making it accept a str_t instead of a parser_t. This in turn
means that we can simplify the Wikitext_parser_sanitize_link_target
function; it can deal with a str_t directly rather than working with a
throwaway parser_t.

Signed-off-by: Wincent Colaiuta <win@wincent.com>

No differences found