# Missing feature - multi-word and case sensitive tags

**URL:** https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090
**Category:** Feature
**Created:** [December 14, 2017, 11:15pm UTC](https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090 "2017-12-14T23:15:07Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![nesnera](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nesnera/32/120466_2.png) [@nesnera](https://meta.discourse.org/u/nesnera)
#### Post date: [December 14, 2017, 11:15pm UTC](https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090/1 "2017-12-14T23:15:07Z")

</div>

Original plugin “[discourse-tagging](https://meta.discourse.org/t/the-official-discourse-tags-plugin-discourse-tagging/26482)” starts with description which contains sentence ‘..For example if you were running a music forum, being able to tag a topic as “Hip Hop” and “Electronica” would be useful..’  
Unfortunately if I try do that upper case are converted to lower case and space is replaced by dash. Why? Is there an option how to preserve exact entry? (e.g. new-york-city or usa looks funny 🙂 )

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 14, 2017, 11:16pm UTC](https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090/2 "2017-12-14T23:16:49Z")

</div>

That’s a feature – spaces don’t work well in URLs and it is hard to distinguish words from tags in text when they have spaces in them. Also, having case sensitive tags is a recipe for pain.

So `hip-hop` and `electronica` is how it works, and is by design.

---

<div class="post-metadata">

### Author: ![nesnera](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nesnera/32/120466_2.png) [@nesnera](https://meta.discourse.org/u/nesnera)
#### Post date: [December 14, 2017, 11:50pm UTC](https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090/3 "2017-12-14T23:50:45Z")

</div>

> [@codinghorror](#):
>
> distinguish words from tags

Jeff, thanks for answer. I believe technology should adopt to humans not contrary. URL encoding? 😉  
What do you mean by “distinguish words from tags in text”? Tags are displayed in extra space and if you want you can use tag style bullet or box.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 14, 2017, 11:52pm UTC](https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090/4 "2017-12-14T23:52:07Z")

</div>

Well, if you want that, you should choose different software. This is how it works here.

---

<div class="post-metadata">

### Author: ![nesnera](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nesnera/32/120466_2.png) [@nesnera](https://meta.discourse.org/u/nesnera)
#### Post date: [December 15, 2017, 12:04am UTC](https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090/5 "2017-12-15T00:04:14Z")

</div>

🙂  
Is there no way to modify behavior by the plugin?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 15, 2017, 12:07am UTC](https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090/6 "2017-12-15T00:07:13Z")

</div>

Probably is, but it would require a lot of work and you would be fighting the core implementation.

---

<div class="post-metadata">

### Author: ![nesnera](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nesnera/32/120466_2.png) [@nesnera](https://meta.discourse.org/u/nesnera)
#### Post date: [December 15, 2017, 12:31am UTC](https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090/7 "2017-12-15T00:31:20Z")

</div>

I see. Thank you for the explanation 👍

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [December 15, 2017, 2:05am UTC](https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090/8 "2017-12-15T02:05:35Z")

</div>

I haven’t tried it. but transfer requires spaces to be `%20`  
Try creating a foo%20bar tag and see if it displays OK?

Two characters closer to length limit each use, but if it works it works

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [December 15, 2017, 3:43am UTC](https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090/9 "2017-12-15T03:43:35Z")

</div>

That won’t work, it will convert to foo-20bar, the regex specifically replaces non-alphanumeric characters with “-”.

Tagging is not setup to handle spaces at all. It would be a fair amount of work, as you’d also have to potentially update the routing for the tag related pages/filters.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 15, 2017, 7:23am UTC](https://meta.discourse.org/t/missing-feature-multi-word-and-case-sensitive-tags/76090/10 "2017-12-15T07:23:38Z")

</div>


