geovistory/design-system

Error: unexpected character: function initWrapper cannot deal with <

Closed this issue · 1 comments

Setting a prop of a web component to an array that contains a String containing < results in an error message.

The funtion initWrapper in tsxToHtml.ts uses JSON.stringify which creates the problem.

Can JSON.stringify just be dropped and the raw value be entered?

resolved by PR #100