improve support for emphasised lines (issue #2)