replace tabs with a directive