DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Code Highlighting Tags Broken  (Read 17,423 times)

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,652
    • Cody Award
    • Participated in NANY Challenge Five Times
Code Highlighting Tags Broken
« on: October 01, 2016, 01:25 PM »
IIRC there is a proper form to report board issues in...but damn if I can find it at the moment ... So I'll just drop this here.

I've been trying to send (PM) some C++ code to a guy since Friday, but every time I use the code highlighting tags (to preserve the formatting) the page blows up saying it can't be loaded.

Is it really just my day (/week...) in the barrel, or is the board glitching on the code tags?

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: Code Highlighting Tags Broken
« Reply #1 on: October 01, 2016, 04:38 PM »
Is it only in PMs?  Or does the same thing happen inline in posts?

And the official section is here: http://www.donationcoder.com/forum/index.php?board=21.0

But I guess mouser will move it if it is a big deal...

Renegade

  • Tell me something you don't know...
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
    • Participated in NANY Challenge Three Times
    • Furry Fandom Badge - Furry Fandom
    • Linux User
Re: Code Highlighting Tags Broken
« Reply #2 on: October 02, 2016, 03:02 AM »
You could use Pastebin if needed.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Code Highlighting Tags Broken
« Reply #3 on: October 03, 2016, 02:28 AM »
Is it only in PMs?  Or does the same thing happen inline in posts?

I can't do any code highlighting at all in the forum unless I type in the tag and style.  Used to be able to select text and then select the Code Highlighting and it would do it.

Tried Edge, Firefox, and Chromodo, same thing in all of them.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Code Highlighting Tags Broken
« Reply #4 on: October 03, 2016, 02:35 AM »
Quote
I can't do any code highlighting at all in the forum unless I type in the tag and style. Used to be able to select text and then select the Code Highlighting and it would do it.

ah you're right.. well that's been broken for a year then.. i will fix.

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Code Highlighting Tags Broken
« Reply #5 on: October 03, 2016, 02:45 AM »
Quote
I can't do any code highlighting at all in the forum unless I type in the tag and style. Used to be able to select text and then select the Code Highlighting and it would do it.

ah you're right.. well that's been broken for a year then.. i will fix.

Not so, it was working on September 5th in my post here
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Code Highlighting Tags Broken
« Reply #6 on: October 03, 2016, 04:01 AM »
ah well that's weird i must have broken it on the recent update then..

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Code Highlighting Tags Broken
« Reply #7 on: October 03, 2016, 04:13 AM »
Should be fixed now (you may have to reload a page to get it to grab the new js file).  Somehow i deleted a bit of the editor javascript on the last update.

Original address: https://www.donationcoder.com/forum/index.php?topic=43071.0