Correctly handle link commands in multiline input.
Merge pull request #1 from 6a68/multiline-commands

Correctly handle link commands in multiline input.