This template inserts the code –, producing a U+2013–EN DASH (–) within two U+200DZERO WIDTH JOINER (), one each on both of its sides. This prevents line break at the endash.
Usage
This can be used, for example, to prevent line break as in:
2020–2022
→
2020– 2022
Using {{nbnd}} (or its aliases: {{nbndash}},{{Non breaking en dash}}) between the years force to produce: