more semantic html
add some tests for generated preview