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
I currently working on site with multiple language support and run into an issue with German. Most language do work perfectly fine but 'umlaute' in German crash the conversion:
text.ts:90 Uncaught (in promise) IndexSizeError: Failed to execute 'setEnd' on 'Range': The offset 26 is larger than the node's length (25).
at createRange (text.ts:90:11)
at text.ts:31:37
at Array.forEach ()
at parseTextBounds (text.ts:28:14)
at new TextContainer (text-container.ts:12:27)
at parseNodeTree (node-parser.ts:22:35)
at parseNodeTree (node-parser.ts:48:25)
at parseNodeTree (node-parser.ts:48:25)
at parseNodeTree (node-parser.ts:48:25)
at parseNodeTree (node-parser.ts:48:25)
Specifications:
html2canvas Verstion 1.4.1
Chrome 131.0.6778.86
Operating system: MacOS
The text was updated successfully, but these errors were encountered:
Bug reports:
I currently working on site with multiple language support and run into an issue with German. Most language do work perfectly fine but 'umlaute' in German crash the conversion:
text.ts:90 Uncaught (in promise) IndexSizeError: Failed to execute 'setEnd' on 'Range': The offset 26 is larger than the node's length (25).
at createRange (text.ts:90:11)
at text.ts:31:37
at Array.forEach ()
at parseTextBounds (text.ts:28:14)
at new TextContainer (text-container.ts:12:27)
at parseNodeTree (node-parser.ts:22:35)
at parseNodeTree (node-parser.ts:48:25)
at parseNodeTree (node-parser.ts:48:25)
at parseNodeTree (node-parser.ts:48:25)
at parseNodeTree (node-parser.ts:48:25)
Specifications:
The text was updated successfully, but these errors were encountered: