Don't split tags which contain hyphens across newlines

Use case or problem

I was trying to use tags at the top of a note today. One of my tags had a hyphen/dash (“-”) in it and (because I had multiple tags preceding it) the contents of the tag wrapped around the newline.

I’m assuming that this behavior is caused because, normally, hyphenated text wrapping is a good thing, but I don’t think it’s the appropriate behavior for tags, which should have consistent formatting whether or not they contain hyphens.

Proposed solution

Disable hyphen-based newline wrapping when rendering tags

Current workaround (optional)

My current workaround is just to avoid using hyphens in tags (but I like using hyphens)