Skip to content

Implement pipe character escaping in CSV converter#2074

Open
Pranav970 wants to merge 1 commit into
microsoft:mainfrom
Pranav970:main
Open

Implement pipe character escaping in CSV converter#2074
Pranav970 wants to merge 1 commit into
microsoft:mainfrom
Pranav970:main

Conversation

@Pranav970
Copy link
Copy Markdown

Added a method to escape pipe characters in CSV cells for Markdown tables.

When CSV files contain pipe characters ( | ) in their cell values, the CsvConverter produces broken Markdown tables because pipe characters are table delimiters in Markdown syntax.

Example Problem:

Code
Input CSV:
name, description
John|Doe,Developer|Engineer
Alice, #@manager|Lead

Current Output (BROKEN):

name description
John Doe
Alice Manager

This breaks the Markdown table structure!

Added a method to escape pipe characters in CSV cells for Markdown tables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant