Weird characters in SQL code tags
See this post:
http://www.vbforums.com/showthread.p...60#post3132060
The first line is:
CREATE FUNCTION [dbo].[fn_GetNumbers](@Str NVARCHAR(MAX))
But it shows in the code windows as:
CREATE FUNCTION & # 9 1 ; dbo].[fn_GetNumbers](@Str NVARCHAR(MAX))
(Without the spaces)
It seems to translate correctly when out of the SQL code tags...
Re: Weird characters in SQL code tags
Because the square brackets are used to designate special-formatting areas, I would assume that square brackets inside such an area would be translated to their html entity equivalent. There seems to be something in the formatting algo which removes the & from the & # 9 1 ;
Re: Weird characters in SQL code tags
The same issue (with the C# formatting, but it is the same tool doing the work) was discussed within the last day: here
Re: Weird characters in SQL code tags
Maybe we need a sticky listing the highlight tool bugs...
Re: Weird characters in SQL code tags
I should have searched.... sorry about that...
The parsing algorithm should look for complete tags, not just the opening bracket... Because SQL usually has the square brackets in the code...
Re: Weird characters in SQL code tags
It's nothing to do with the parsing. It's just a typo in an array structure in the plugin code which wraps the parse engine.
As I posted in the thread linked above, when I get free time these issues will all be fixed.