]> git.wincent.com - wikitext.git/commit
Remove comment from _Wikitext_append_entity_from_utf32_char
authorWincent Colaiuta <win@wincent.com>
Tue, 12 May 2009 21:32:00 +0000 (23:32 +0200)
committerWincent Colaiuta <win@wincent.com>
Tue, 12 May 2009 21:32:00 +0000 (23:32 +0200)
commitf396e5f9132feb204a5252872369e70aa3913571
tree326c2dcc52de621a7e3f78692c7c4017b3886aac
parent169789124820e86a555a039cbac9dc56e1f02e18
Remove comment from _Wikitext_append_entity_from_utf32_char

There is no point in special casing entities like "quot", "amp"
and such in this function because neither of the two call sites
would ever pass in such a code point:

- the _Wikitext_append_sanitized_link_target already explicitly
  handles all these cases, either emitting the entities manually
  or raising an exception.

- the DEFAULT case won't ever have to process those characters
  because they would have already been tokenized otherwise and
  handled in the QUOT, AMP, LESS and GREATER cases.

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