tweaking inline/block generation in HTML