Description
When the user try to view the diff in split mode, if the old code and new code have, some empty line, prism throws error for syntax highlighting
Step to reproduce
Use the Syntax Highlighting example
Add some empty lines in new code variable, in the beggining (These variables should contain string value)
Description When the user try to view the diff in split mode, if the old code and new code have, some empty line, prism throws error for syntax highlighting
Step to reproduce
Screenshot of error![image](https://github.com/Aeolun/react-diff-viewer-continued/assets/133643704/6bac5977-86d7-4cf4-b046-8e77ac45763d)
Screenshot when split mode is false![image](https://github.com/Aeolun/react-diff-viewer-continued/assets/133643704/c82665da-09af-49a8-8015-4372a762412d)
Code sanbox
Link
Code sandbox example