pythonwordpressquotation-marks

Python-Code in Wordpress: Some Quotation Marks are displayed "lower-case"


I am writing several Tutorials for the Python API we are using in our company. The website used is designed with Wordpress. I can write an article and in the editor everything looks good, but when I look at the published version the first quotation marks of each "String" are written low (as this is invalid in python). Output displayed on the Website

In the editor:

This is how it is inserted in the editor

Looking at "code" set in the editor, I created a "blockquote" to mark the code as the "" tag or similar tags won't work. I set a certain stylesheet as well, but its a very simple one: enter image description here

enter image description here

Can anyone tell me a trick to make ALL quotation marks appear as UPPER marks? By the way I am not allowed to use webfonts we were adviced this was not allowed in terms of DSGVO and our terms of use...


Solution

  • As software developer, I like it when the code syntax highlighted. I strongly assume that this problem won't occur if it is properly syntax highlighted.

    That's why I recommend following plugins: