Automatic closing of "<" braces added.

Now the "<" braces will automatically close only in the desired places.
Previously they always automatically closed, and that was an undesirable
behaviour.