UA-eMath / eMath

new eMath system
2 stars 0 forks source link

Use of HTML-entities #59

Open bohungi opened 3 years ago

bohungi commented 3 years ago

Some HTML-entities are needed. For example:

  1. nbsp, initialized by `&' and terminated by ';' to control spacing
  2. auml, initialized by `&' and terminated by ';' to create symbols from foreign languages such as ä

Right now, HTML-entities disturb the system enough so that a para containing one such does not render.

xqiu1 commented 3 years ago

Since our system is using the xmlToReact library to convert XML to what react can understand, I found it only recognizes Hexadecimalcharacter and Decimalcharacter reference. For example, to input ä, you can type ä instead of ä. You can follow this link to find the Hexadecimalcharacter and Decimalcharacter reference.

bohungi commented 3 years ago

These hexadecimalcharacters are a nuisance. On the other hand, our editor has built in content completion for HTML-entities! - This is really nice, and it would be best if we could support a way of using those entities.