The current style adds padding to non-pre elements, such as any p or div elements. The final html adds a wrapping div with a .pre class that also gets padding added to it. This patch removes the padding from this wrapping div. Fixes: QTBUG-133710 Pick-to: 6.9 6.8 6.5 Change-Id: I6411dcda9cfed5f0f82d8bd9ea8dc809b1a3b4d6 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>