What to do keep html formating in dialog jQ UI? html loaded with ajax

In jQ UI I apply text to dialog via load (ajax JQ) but, h2 text seems same as p text… Also bulleted lists formatting…NOT shown but there are… What to do keep formating in dialog jQ UI?