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

  1. bkf0
    Posted 4 years 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";


  2. Shea Bunge
    Plugin Author

    Posted 4 years 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
    Plugin Author

    Posted 4 years 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