escape LF
clear space in scope
add test for #3
fix #3