ClojureREPL icon indicating copy to clipboard operation
ClojureREPL copied to clipboard

Whitespace is not rendered correctly

Open stathissideris opened this issue 11 years ago • 3 comments

The result of (str "d--" " --D") looks like d-- --D on the page, despite appearing correctly as

d--    --D

in the HTML div. Consider using the <pre> tag to render results. Same goes for \n in strings.

stathissideris avatar Oct 07 '14 22:10 stathissideris

See https://github.com/lhartikk/ClojureREPL/pull/3.

curious-attempt-bunny avatar Oct 25 '14 17:10 curious-attempt-bunny

It's not clear to me how you want \n strings handled.

curious-attempt-bunny avatar Oct 25 '14 17:10 curious-attempt-bunny

Since the LightTable instaREPL is the "role model" of this project I would by default prefer to things the same way:

repl

lhartikk avatar Oct 27 '14 07:10 lhartikk