ink icon indicating copy to clipboard operation
ink copied to clipboard

Edge case causes empty ("\n") line

Open klootas opened this issue 4 years ago • 1 comments

Hi there! The following code causes an empty ("\n") line to be "spoken" by ink. I mention it since my code used string.IsNullOrWhiteSpace() to validate the current speech line.

->foo

= foo { not bar: ->bar-> } // Converting this to a non one-liner removes the "\n" speech ->DONE

= bar // Adding a speech line here also removes the "\n" speech { once:

  • In bar } ->->

klootas avatar Jul 05 '20 17:07 klootas

You can use ink's glue "<>" to remove this kind of extraneous whitespace.

spaxton avatar Nov 10 '20 00:11 spaxton