Grrrr, dont want to be a pain or so but I just read the in/output rules again....

 Quote:
A single line containing "Knight:", a space, and the input. Any appearance of space characters inside the input will be replaced by a single space.


This rule doesn't say that any leading spaces should be trimmed, only that multiple spaces should be replaced by one.

In testcase 2 there are 2 lines which start with a space, but if I return them with a leading space they are counted as wrong.
_________________________
It's better to have scripted and died, then to never have scripted at all