Problem with inserting Python Code (2 posts)

  1. NuckyThomson
    Posted 1 year ago #


    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/
    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


  2. NuckyThomson
    Posted 1 year ago #

    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!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pastacode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.