ink
ink copied to clipboard
Edge case causes empty ("\n") line
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 } ->->
You can use ink's glue "<>" to remove this kind of extraneous whitespace.