substance / texture

A visual editor for research.
MIT License
1k stars 83 forks source link

Special characters #1312

Open JGilbert-eLife opened 5 years ago

JGilbert-eLife commented 5 years ago

Description

Support for special characters in the text.

User stories

Author

  1. As an author, I want to be able to add non-standard characters to my text so that I can describe scientific and mathematical terms (Greek letters, maths symbols, shapes etc.)

But what if . . . ?

Consideration

XML requirements

XML should be UTF-8 encoded. Where possible, numerical representation of characters should be used instead of named character entities, for example – should be used instead of –.

The following five characters may need to be escaped in the XML:

character escape
" "
' '
< &#x3C;
> &#x3e;
& &#x26;

Mock ups

Proposal