Results 1 to 13 of 13

Thread: Escaping Quotes

  1. #1

    Thread Starter
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Escaping Quotes

    It appears the forum software has gone a little overkill on escaping meta characters:

    http://www.vbforums.com/showthread.php?t=317230

    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Escaping Quotes

    Same thing is going on with code samples: there will be a back slash for every single quote.

  3. #3
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Escaping Quotes

    I just realize that it's not happening with the code only - it's everywhere and apparently affects only those posts that have code or links included.
    Last edited by RhinoBull; Dec 21st, 2004 at 02:36 PM.

  4. #4
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Escaping Quotes

    Quote Originally Posted by RhinoBull
    I just realize that it\'s not happening with the code only - it\'s everywhere and apparently affects only those posts that have code or links included.
    Its been brought to the admins Attention and as far as i am aware they are working on a fix

  5. #5
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Escaping Quotes

    I wasn't aware of that. Thanks.

  6. #6
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Escaping Quotes

    I've posted a general announcement about weirdnesses that may occur over the next day or so as some things are tweaked in the PHP code of the site.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  7. #7
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Escaping Quotes


    This should now be fixed. The VBCode tag should be working. If nobody sees problems with it, then I'll hook it into the editor controls. (Please note, I will update the specific list of terms once we confirm the tag is working fully).

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  8. #8

  9. #9
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Escaping Quotes

    Quote Originally Posted by brad jones
    This should now be fixed. The VBCode tag should be working. If nobody sees problems with it, then I'll hook it into the editor controls. (Please note, I will update the specific list of terms once we confirm the tag is working fully).

    Brad!
    Well since this was a bit harder then it first looked like, I guess there is no hope for a C++ tag now?

  10. #10
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Escaping Quotes

    Quote Originally Posted by NoteMe
    Well since this was a bit harder then it first looked like, I guess there is no hope for a C++ tag now?
    Heidi actually was the person that managed to get the VBCode to work. I've asked that the process be documented so we can add this to other forum sites as well as add other languages. As such, C++ may be added at some future date. There are, however, other things to turn on or add before C++ code coloring .

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  11. #11
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Escaping Quotes

    Thanks a lot, and thanks to Heidi (again!!). If you/she need any help with finding keywords or anything else, just say hello, and I'll be there. Also looking forward to the other things you are going to turn on.


    Thanks
    ØØ

  12. #12
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Escaping Quotes

    Quote Originally Posted by NoteMe
    .... help with finding keywords or anything else, just say hello, and I'll be there.
    We had a list on this forum at one point.... I'll end up looking for an updated list. If anyone has one handy, post it or send it my way and I'll use it to compare. You'll save me a couple of minutes when I update the list .

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  13. #13
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Escaping Quotes

    Well I guess this is a start:

    __forceinline
    #define
    #else
    #endif
    #ifdef
    #ifndef
    #include
    #undef
    bool
    break
    case
    char
    class
    const
    delete
    double
    else
    enum
    explicit
    extern
    false
    float
    for
    goto
    inline
    int
    namespace
    new
    operator
    private
    public
    return
    sizeof
    static
    struct
    switch
    template
    true
    union
    void
    while
    using


    in alphabetical order. Not sure if "this" also should be added, and how big letter for things as BOOL and VOID should be handled tho'. And quotes with both /* */ and // is importent, and maybe strings, numbers and consts could be colored..

Posting Permissions

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



Click Here to Expand Forum to Full Width