Title: Problem with inserting Python Code
Last modified: August 21, 2016

---

# Problem with inserting Python Code

 *  [NuckyThomson](https://wordpress.org/support/users/nuckythomson/)
 * (@nuckythomson)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-with-inserting-python-code/)
 * Hello,
 * First thanks a lot for this plug-in!
 * I would like to insert some Python code on my page.
    It’s basically working but
   there is a problem in the end of the code. It seems that some lines from the 
   plug-in script are interpreted in the code window, so understood as some Python
   code. I hope to be clear enough. You can have a look at my page : [http://sobjexurde.net/2013/10/24/neologenerator/](http://sobjexurde.net/2013/10/24/neologenerator/)
   At the line 51-52 the following code is appearing:
 * <p style=”text-align: justify;”>
 * It doesn’t belong to my Python code!
 * I tried to modify the original script but nothing worked.
 * Is it a problem coming from your plug-in or I did something wrong?
 * Best regards,
 * Nucky Thomson
 * [http://wordpress.org/plugins/pastacode/](http://wordpress.org/plugins/pastacode/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [NuckyThomson](https://wordpress.org/support/users/nuckythomson/)
 * (@nuckythomson)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/problem-with-inserting-python-code/#post-4381431)
 * Okay, I found the problem :
    you need to replace <p style=”text-align: justify;”
   > with <p> (in the end of the code). No more bug after this. You should implement
   it in your plug-in, otherwise we need to do this manually each time.
 * Thank you very much again for this plug-in, it’s amazing!!

Viewing 1 replies (of 1 total)

The topic ‘Problem with inserting Python Code’ is closed to new replies.

 * ![](https://ps.w.org/pastacode/assets/icon-256x256.png?rev=2819151)
 * [Pastacode](https://wordpress.org/plugins/pastacode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pastacode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pastacode/)
 * [Active Topics](https://wordpress.org/support/plugin/pastacode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pastacode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pastacode/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [NuckyThomson](https://wordpress.org/support/users/nuckythomson/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/problem-with-inserting-python-code/#post-4381431)
 * Status: not resolved