Only turn multiline on if line ends in """ or '''

Improves issue #45