Replace dynamic tags with their content instead of overwriting the line. Fixes #94
Merge pull request #95 from eueln/overwritefix

Replace dynamic tags with their content instead of overwriting the line. Fixes #94.