HTMLBuilder: support hyperlink for @<table> and @<img>
fix tests