You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Markdown tables should include leading and trailing pipe (|) delimiters on every row for maximum compatibility with markdown parsers. While this is technically valid GitHub Flavored Markdown (GFM), it causes parsing issues with many markdown processors and violates the recommended best practice for compatibility.
Static site generators (Jekyll, Hugo) have inconsistent rendering
Some IDEs and markdown previewers don't recognize the table structure
LLM processing may have reduced accuracy with inconsistent formatting
Potential data loss when parsers misalign columns
Is this reproducible?
Yes
Inputs Causing the Bug
Any webpage containing HTML `<table>` elements will produce markdown tables with missing outer pipes.
**Test URL used:**
https://www.canada.ca/en/health-canada/services/environmental-workplace-health/reports-publications/water-quality/guidelines-canadian-drinking-water-quality-summary-table.html
This page contains multiple tables with 5-7 columns and 100+ rows. All tables exhibit the issue.
Steps to Reproduce
1. Install crawl4ai 0.8.0
2. Crawl any webpage with HTML tables
3. Examine the generated markdown
4. Observe that table rows do not start/end with `|`**Specific test:**
- Crawl the Canadian drinking water quality page
- Check Table 2 (Chemical Parameters) - 97 rows, all missing outer pipes
- Verify separator row format: `---|---|---|---|---` instead of `|---|---|---|---|---|`
crawl4ai version
0.8.0 (also confirmed in 0.7.4)
Expected Behavior
Markdown tables should include leading and trailing pipe (
|) delimiters on every row for maximum compatibility with markdown parsers. While this is technically valid GitHub Flavored Markdown (GFM), it causes parsing issues with many markdown processors and violates the recommended best practice for compatibility.Current Behavior
Issues this causes:
Is this reproducible?
Yes
Inputs Causing the Bug
Steps to Reproduce
Code snippets
OS
Mac OS
Python version
3.13.11
Browser
n/a
Browser version
n/a
Error logs & Screenshots (if applicable)
No response