fix #15 automatically remove starting and ending br