Fix the empty allowedTags issue.

The problem is that when the allowedTags in the options is an empty list, all
the tags pass the "renderTag" test and can be rendered. This patch should fix
this issue.