WordPress.org

Ready to get started?Download WordPress

Forums

Code Snippets
[resolved] textarea end tag causing formatting issues in snippet editor (3 posts)

  1. bentleykfrog
    Member
    Posted 1 year ago #

    I ran into this simple problem today. When the </textarea> tag is used as a string in your code it will be used to close the snippet editor's textarea. This can be replicated using this line:
    $test ="</textarea>some other stuff";
    "some other stuff" will be printed after the snippet editor.

    simple fix for this without editing the code snippets plugin would be to break up the textarea tag in your code like so...

    $test ="</"."textarea>some other stuff";

    http://wordpress.org/extend/plugins/code-snippets/

  2. Shea Bunge
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for letting me know. I'll have a look at it and see if I can include a fix in the next version on Code Snippets.

  3. Shea Bunge
    Member
    Plugin Author

    Posted 1 year ago #

    I have found the problem and fixed it. The fix will be introduced in version 1.2, which will be released shortly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic