use html's pre tag to display tips's content