save formatting on page with a <pre> tag. add a span with a class to denote the tag around each line