mathquill / mathquill

Easily type math in your webapp

Home Page:http://mathquill.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UTF-16 surrogate pairs rendered separately when cursor is placed between them

trnavac opened this issue · comments

Since those characters stored in javascript string have length 2, I suppose they are parsed as 2 separate characters. They are rendered fine until the cursor is placed between them.

image
image

HTML looks like this:
image
But it should probably look like this:
image