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
This commit fixes an issue where the XML export would fail with
"unexpected EOF in CDATA section" errors when file content contained
the CDATA end marker sequence ']]>'.
The fix implements a proper CDATA handling strategy that:
- Detects all occurrences of ']]>' in file content
- Splits the content around these markers
- Creates properly nested CDATA sections to preserve the original content
- Ensures all XML output is well-formed regardless of source content
This approach maintains the efficiency of CDATA for storing large code
blocks while ensuring compatibility with all possible file content.
Fixes the XML validation error that would occur when processing files
containing CDATA end marker sequences.
0 commit comments