geovistory / design-system

MIT License
2 stars 1 forks source link

Error: unexpected character: function initWrapper cannot deal with < #99

Closed flicksolutions closed 9 months ago

flicksolutions commented 10 months ago

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?

joschne commented 9 months ago

resolved by PR #100