# Font Tags whose names start with "-" (hyphen) don't work with Tag Search

**URL:** <https://forum.high-logic.com/t/font-tags-whose-names-start-with-hyphen-dont-work-with-tag-search/4938>\
**Category:** MainType - Bug Reports\
**Created:** [January 6, 2016, 5:51pm UTC](https://forum.high-logic.com/t/font-tags-whose-names-start-with-hyphen-dont-work-with-tag-search/4938 "2016-01-06T17:51:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PatrickOfLondon](https://forum.high-logic.com/letter_avatar_proxy/v4/letter/p/fbc32d/32.png) [@PatrickOfLondon](https://forum.high-logic.com/u/PatrickOfLondon)\
**Post date:** [January 6, 2016, 5:51pm UTC](https://forum.high-logic.com/t/font-tags-whose-names-start-with-hyphen-dont-work-with-tag-search/4938/1 "2016-01-06T17:51:23Z")

</div>

Hi,  
_(I’m new to MainType 6.0 as of yesterday. It’s a fine piece of work by the author: thank you Mr Denissen.)_

Learning my way around in MainType, I added some tags to some fonts, and Tag Search worked fine.

Later, I changed some of the tag names so that they began with a hyphen (“-”), to make them come to the top of the list of tags sorted by name.

Later still, I tried to use Tag Search again. But I discovered that tags whose names begin with a hyphen don’t work properly with Tag Search.

Tag Search works properly once more, if you edit the Tag Names using the Tag Manager, and remove any leading hyphens.

This is only a very small “bug”; but I thought I’d nonetheless mention it here, as using (a) instead of -a- at the start of a Tag Name does not cause any problems. It might be useful to state, in the user manual, what characters Tag Names may begin with; or to change the functionality, to allow hyphens to be used.

---

<div class="post-metadata">

**Author:** ![ErwinDenissen](https://forum.high-logic.com/user_avatar/forum.high-logic.com/erwindenissen/32/9430_2.png) [@ErwinDenissen](https://forum.high-logic.com/u/ErwinDenissen)\
**Post date:** [February 10, 2016, 8:57am UTC](https://forum.high-logic.com/t/font-tags-whose-names-start-with-hyphen-dont-work-with-tag-search/4938/2 "2016-02-10T08:57:14Z")

</div>

Your findings are indeed correct.

The minus sign causes the problem, as that character is used internally. Just start with any other character and you’re good to go!

The next upcoming major release will not accept tag names starting with a “-”.

---

<div class="post-metadata">

**Author:** ![PatrickOfLondon](https://forum.high-logic.com/letter_avatar_proxy/v4/letter/p/fbc32d/32.png) [@PatrickOfLondon](https://forum.high-logic.com/u/PatrickOfLondon)\
**Post date:** [February 10, 2016, 10:29am UTC](https://forum.high-logic.com/t/font-tags-whose-names-start-with-hyphen-dont-work-with-tag-search/4938/3 "2016-02-10T10:29:46Z")

</div>

Yes, blocking the use of “-” as a starting character will be helpful.

Many thanks, both for MainType, and also for your responsiveness.
