Fixed issues related to ranged character insertion with br as the first marker.