Removes trailing empty markdown table rows from OCR markdown output.
OCR providers often emit dangling | | rows after otherwise valid tables. Trimming them keeps downstream readable-text extraction and markdown rendering cleaner without altering non-empty content.
| |
OCR markdown to normalize.
Markdown with empty trailing table rows removed.
Removes trailing empty markdown table rows from OCR markdown output.
OCR providers often emit dangling
| |rows after otherwise valid tables. Trimming them keeps downstream readable-text extraction and markdown rendering cleaner without altering non-empty content.