What happened?
In table cells, when outputting, for example, type A|B, the data is carried over to the next column.
What did you expect to happen?
I expected the table cell to print A|B.
Client information
Client Information
Run qwen to enter the interactive CLI, then run the /about command.
╭──────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Статус │
│ │
│ Qwen Code 0.12.6 (ac30c98a2) │
│ Среда выполнения Node.js v20.20.0 / npm 10.8.2 │
│ ОС linux x64 (6.8.0-106-generic) │
│ │
│ Аутентификация Qwen OAuth │
│ Модель coder-model │
│ ID сессии 4b42cc9a-13c9-497a-be6b-d4476e12249d │
│ Песочница no sandbox │
│ Прокси no proxy │
│ Использование памяти 258.1 MB │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
Login information
No response
Anything else we need to know?
I solved the shielding problem like this:
I made changes in file @qwen-code/qwen-code/cli.js
- tableHeaders = tableRowMatch[1].split("|").map((cell) => cell.trim());
+ tableHeaders = tableRowMatch[1].split(/(?<!\\)\|/).map((cell) => cell.trim().replaceAll('\\|', '|'));
- const cells = tableRowMatch[1].split("|").map((cell) => cell.trim());
+ const cells = tableRowMatch[1].split(/(?<!\\)\|/).map((cell) => cell.trim().replaceAll('\\|', '|'));
And in the QWEN.md file I specified: In the final output in the tables, replace the | symbol with \|
What happened?
In table cells, when outputting, for example, type
A|B, the data is carried over to the next column.What did you expect to happen?
I expected the table cell to print
A|B.Client information
Client Information
Run
qwento enter the interactive CLI, then run the/aboutcommand.Login information
No response
Anything else we need to know?
I solved the shielding problem like this:
I made changes in file @qwen-code/qwen-code/cli.js
And in the
QWEN.mdfile I specified: In the final output in the tables, replace the|symbol with\|