Add support (and tests) for multiline tags