brownplt / code.pyret.org

Website for serving Pyret to folks.
Other
24 stars 45 forks source link

Add unicode ellipses (…, U+2026) to the auto-expand/replace list #482

Closed jpolitz closed 9 months ago

jpolitz commented 1 year ago

There is a list of characters to expand/replace (like curly-quotes and en-dashes):

https://github.com/brownplt/code.pyret.org/blob/9f005f31426b8b703ea03718fa2dc6d3d46f93d0/src/web/js/text-handlers.js#L11

We should add "…" (that's one Unicode code point) to the list and make it expand to three periods ... (that's three ASCII dots)