fixed multiline tags parsing and skipping name

Fixes #16