Here's a quick sample of a demo:
const animator = new GDemo('#container');
animator.openApp('editor');
animator.write('class Test extends Base<T>');
animator.write('<span></span>class Test extends Base<T>');
This particular demo creates some issues.
The first line renders exactly as written with the < and > being rendered as is.
The second line actually decodes the < and > into < and >.
So there is an unexpected difference in how it renders the two lines of code.
I would expect it to either always decode the symbols or never decode them, rather than sometimes as it is right now.
Here's a quick sample of a demo:
This particular demo creates some issues.
The first line renders exactly as written with the
<and>being rendered as is.The second line actually decodes the
<and>into<and>.So there is an unexpected difference in how it renders the two lines of code.
I would expect it to either always decode the symbols or never decode them, rather than sometimes as it is right now.