Forum > Suggestions

Forum Code Tags Broken?

(1/2) > >>

lainz:
Single quotes are wrongly displayed


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---  // !!cannot use TDOMElement.SetAttributeNode because it will free old attribute  OldAttr := Elem.Attributes.SetNamedItem(Attr);  if Assigned(OldAttr) then  begin    OldAttr.Free;    FatalError('Duplicate attribute', FName.Length);  end;

trev:
I thought it was my memory that was broken  :-[

Thanks for the confirmation that it's the Forum!

Bi0T1N:
But it broke recently but definitely before the server maintenance. Can this be related to the update of the forum software?

Kays:
Interestingly, it only concerns [️‍code] tags specifying a programming language, so I suppose it’s the fancy colorful syntax highlighter’s fault.

--- Code: ---'
--- End code ---

Bart:
I informed Marc on the fpc-devel ML.

Bart

Navigation

[0] Message Index

[#] Next page

Go to full version