image-handling: Properly escape html looking tags

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Merge pull request #105 from stgraber/master

image-handling: Properly escape html looking tags