Added validation of metadata
Made description able to contain html