Configure the syntax highlighting script to use regular quotes..

Home Forum Development Site and Project Configure the syntax highlighting script to use regular quotes..

This topic contains 19 replies, has 6 voices, and was last updated by  Erlend Sogge Heggen 1 year, 5 months ago.

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #204782

    kwando
    264p
    Keymaster

    One small issue with the forums:
    When using java tags the syntax highlighter destroys the double quotes of all string literals. Copying code from the forum posts is not possible without editing it..

    #211113

    Erlend Sogge Heggen
    501p
    Keymaster

    The forum should be less inclined to eat characters now. Care to test it?

    #211114

    kwando
    264p
    Keymaster

    #211129

    zarch
    690p
    Keymaster

    Its converting the double quote character ” into open and close quotes, which are then invalid if cut and pasted into code.

    #211130

    zarch
    690p
    Keymaster

    And its still removing anything inside angle brackets from inside the code blocks.

    #211132

    toolforger
    135p
    Participant

    I have to chime in. Any conversion beyond HTML escaping is evil if you want to paste code.
    Things I noticed:
    – Quote conversion
    – Angle bracket removal
    – Smiley insertion does not happen anymore (btw strikethrough is now broken)
    Here’s a test:

    Here’s the same in a code block:
    System.out.println(“emphasis?“); — Quote conversion and HTML tag interpretation
    List ; — Angle bracket removal
    System.out.println(8); — Smiley insertion

    #211141

    madjack
    629p
    Participant

    Every time I see things like this I just shake my head and laugh. Not a hearty and joyful laugh. No.

    POS.

    #211144

    pspeed
    3025p
    Keymaster

    It’s a good thing this isn’t a coding forum. ;)

    #211154

    madjack
    629p
    Participant

    @pspeed said:
    It’s a good thing this isn’t a coding forum. ;)

    Let’s not stoke the fire, shall we? :P

    #211282

    Erlend Sogge Heggen
    501p
    Keymaster

    Testing broken strikethrough. Testing smiley insertion: :-| :-D

    Edit: So strikethrough and smiley insertion seems to work just fine to me, but the quotes conversion and the failing angle brackets is a major issue. I’ve reported it.

    #211285

    toolforger
    135p
    Participant

    Bold works when marking some text, then clicking the button.
    Italic works when marking some text, then clicking the button.
    Underline doesn’t work when marking some text, then clicking the button.
    Strikethrough doesn’t work when marking some text, then clicking the strikethrough button.

    Smiley insertion always worked for me, including when I didn’t want it (in Java code).

    Markup seems to be a mess currently.

    #211386

    Erlend Sogge Heggen
    501p
    Keymaster

    Another test.

    Code block with angled brackets in it

    Markdown code block with angled brackets in it

    #211387

    Erlend Sogge Heggen
    501p
    Keymaster

    I think the problem with angled brackets has been solved. I suspect it was a caching thing. The issue with the “quotations” is still present though. More on that shortly.

    #211389

    toolforger
    135p
    Participant

    What… four different kinds of markup now… (Java, code, html, smileys)
    I think I just got my daily dose of My Eyes Glazeth Over ™.

    #211394

    zarch
    690p
    Keymaster


Viewing 15 posts - 1 through 15 (of 20 total)

You must be logged in to reply to this topic.