tchen01 / monospace

display monospaced textblocks in facebook chat
MIT License
7 stars 2 forks source link

some inputs become html #15

Closed tchen01 closed 9 years ago

tchen01 commented 9 years ago

text like <section becomes HTML and isn't displayed. This is because the result of the write function is set as the innterHTML of some element.

To work around, code must be entered as innerText which means the write and draw functions must be redone.

write and draw functions should be rewritten so that using innerHTML is avoided

if the beginning and end delimiters were never the same then determining borders might be much easier.