Bug
When ChatGPT is displaying a result, if the result is [ANY TEXT](###)
, it will cause all of the code to disappear.
How to reproduce:
Just ask ChatGPT: “Please put [Any Text](1)
in a SQL Code Block.”
What happens?
ChatGPT will display an empty Code block.
Why does this matter?
For T-SQL, it is possible to display a column type using the following format:
[varchar](100)
However, this destroys the definition, so, let’s say you have a table of Foo with a varchar(100) column of Bar, it has a possibility of displaying the column as:
CREATE TABLE [dbo].[Foo] (
[Bar] [varchar](100) NOT NULL
)
Which, since the URL Formatter runs inside of the Code Block, it is causing a serious issue as the URL Formatter seems to just delete all of the text in this instance.