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 3 of 3
  1. #1
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,387
    Thanks
    32
    Thanked 288 Times in 282 Posts

    Fix the <span class="skimlinks-unlinked">…</span> Issue

    Please fix the <span class="skimlinks-unlinked">…</span> issue. The forum is using JavaScript to rewrite posts with this code which is resulting in malformed code being posted in various threads:

    Example affected posts:

    You can see the original, undistorted code by clicking the "Reply With Quote" link.

    This is even more ridiculous because this is a forum for troubleshooting code. It's hard to do that when you can't reliably post code without it being magically modified or read other user's code without inspecting it for changes by the forum itself.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,648
    Thanks
    80
    Thanked 4,636 Times in 4,598 Posts
    Actually, alert("You may not") becomes, very weirdly, <span class="skimlinks-unlinked">alert("You</span>"may not")

    At least, that's what Chrome element inspector tells me. Removing the class from the <span> with the attributes editor makes no change in the display.

    Which I guess what you were saying about them using JS to rewrite stuff in [code] tags.

    They also make some errors in [php] tags, but not as many. Annoyingly, in [php] tags you can't use a \ even in stuff like \" and \n

    Sometimes I'm tempted to compose code in a code editor, change all spaces to &nbsp; and then paste it here and use Courier New font.
    Last edited by Old Pedant; 12-07-2014 at 04:02 AM.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,387
    Thanks
    32
    Thanked 288 Times in 282 Posts
    Quote Originally Posted by Old Pedant View Post
    Actually, alert("You may not") becomes, very weirdly, <span class="skimlinks-unlinked">alert("You</span>"may not")
    I'm seeing <span class="skimlinks-unlinked">window.alert("You</span> not with the "may" that should be there inexplicably missing.

    Quote Originally Posted by Old Pedant View Post
    They also make some errors in [php] tags, but not as many. Annoyingly, in [php] tags you can't use a \ even in stuff like \" and \n
    That sounds horrible. I rarely use [php] tags, so I haven't noticed.

    Quote Originally Posted by Old Pedant View Post
    Sometimes I'm tempted to compose code in a code editor, change all spaces to * and then paste it here and use Courier New font.
    Maybe I should just start taking screen shots of my code and reply with that.

    I can also move code off-site and link to it.

    Testing 1-2-3:
    cf_skimlinks.jpg
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

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