Added preview style to  html output

Added the preview style selected when editing to the formatted html
output