scripts: escape html in code snippets

Change-Id: Ic8585651c09129124275177a419079fd412405fd
Signed-off-by: Wayne Lee <waynelee@qce.qualcomm.com>