]> git.wincent.com - wikitext.git/commit
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)
commit5ee08e9b316f5e76226e9d18ab5d9246e05c3b64
tree6fbede728d644be0b02b342df320ca1130595cb2
parent778839efae7d7dc84d7b898847986b0410855d06
Simplify Wikitext_parser_sanitize_link_target

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>
ext/parser.c