I noticed that the backslash is defined as escaping char in the Geshi code at: inc/geshi/sql.php, however it is not a valid code (by default) for all SQL types. For instance, t-SQL/MS-SQL works with a ESCAPE condition to the match clause, or none for printing.
To reproduce the behavior:
The solution I am adding on this patch is simply to remove the backslash as default escaping char (but this may affect other SQL types).
The t-sql file also has the same issue.
Please let me know if there are any other solutions to this.
Thanks in advance,