I am publishing python code on some website that is CMS. I have a python script that reads any python script and makes a syntax-colored HTML out of it. Then I copy/paste this HTML into the CMS editing window.
The problem is that my python syntax highlighting script uses <pre> tag to keep tabs/spaces which are quite important in python. The CMS however for some reasons that are unclear for me removes any <pre> tag. Admin told me that I should use <div> instead of <pre>. Could you help me styling a <div> to keep the wihte-space formatting?