latest changes including adjustment to input padding, styling and escaping html tags