coatless / quarto-webr

Community developed Quarto Extension to Embed webR for HTML Documents, RevealJS, Websites, Blogs, and Books.
https://quarto-webr.thecoatlessprofessor.com/
395 stars 19 forks source link

[Bug] Newline character in `cat()` string `\n` causing later portion to not be shown #133

Closed coatless closed 7 months ago

coatless commented 10 months ago

On that occasion, I found that output length is unpredictable - try

cat("firstly\nsecondly")

in a code cell...

cat() output with special character hiccup

Originally posted by @ute in https://github.com/coatless/quarto-webr/issues/94#issuecomment-1902469467

coatless commented 7 months ago

Looks like this will be getting a bug fix in the 0.4.x line of webr:

https://github.com/r-wasm/webr/issues/412

coatless commented 7 months ago

Fixed by George in:

https://github.com/r-wasm/webr/pull/419

It'll be available in v0.3.3's release.

coatless commented 7 months ago

With #196 now in main, this should be fixed!