Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    BBcode Greasemonkey Multiline tags

    I have a greasemonkey script that replaces BBcode with HTML because the admin of a site I frequent won't implement text effects. The problem is when users use tags with multiple lines in them they don't work.

    For example:

    [ b ]text text text[ /b ]

    Shows as text text text

    [ b ]
    text
    text
    text
    [ /b ]

    Shows as
    [ b ]
    text
    text
    text
    [ /b ]

    Here is the full script. Any ideas on how to make multiple lines work?
    http://snipt.org/kkml

    **I mainly just want to get the quote tag working, that's the one they use the most and mess up on by adding multiple lines.***
    Last edited by s0m31john; 06-19-2009 at 02:29 AM.

  • #2
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    First and only bump. Anyone have any ideas?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •