# العلامات والمسافات

**URL:** https://meta.discourse.org/t/tags-and-spaces/99198
**Category:** Feature
**Created:** [10 أكتوبر 2018، 2:59م UTC](https://meta.discourse.org/t/tags-and-spaces/99198 "2018-10-10T14:59:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![chipet92s](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chipet92s/32/86441_2.png) [@chipet92s](https://meta.discourse.org/u/chipet92s)
#### Post date: [10 أكتوبر 2018، 2:59م UTC](https://meta.discourse.org/t/tags-and-spaces/99198/1 "2018-10-10T14:59:01Z")

</div>

Here in meta I can search by tag using spaces and it gives me results.

 ![imagen](https://global.discourse-cdn.com/meta/original/3X/0/7/07731ac7ac975c0ae8af9d5607de87aa0617c1b2.png)

However, in my Discourse installation (v2.2.0.beta2 +5) this would give me no results. Instead, i would have to write ‘pr-welcome’.

Also, when adding tags to a topic, it gives me the option to create ‘example tag’ when ‘example-tag’ already exists.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [10 أكتوبر 2018، 3:12م UTC](https://meta.discourse.org/t/tags-and-spaces/99198/3 "2018-10-10T15:12:44Z")

</div>

> [@chipet92s](#):
>
> Here in meta I can search by tag using spaces and it gives me results.  
> …  
> (v2.2.0.beta2 +5) this would give me no results

@nbianca improved this behaviour a few days ago, so you will need to update your installation to see the new behaviour (we always run the latest version here on meta). For reference, [this](https://github.com/discourse/discourse/commit/719a433c038e8e5c7a4834b59a60f228df80a361) was the change.

> [@chipet92s](#):
>
> Also, when adding tags to a topic, it gives me the option to create ‘example tag’ when ‘example-tag’ already exists.

You are right, that behaviour exists on meta as well. Note that if you try and do this, it won’t actually work because the server validates the input before storing in the database. Once you refresh the page any duplicate tags will disappear.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [22 أكتوبر 2018، 10:12ص UTC](https://meta.discourse.org/t/tags-and-spaces/99198/6 "2018-10-22T10:12:27Z")

</div>

This should now be fixed by

[https://github.com/discourse/discourse/commit/37b7afa522b77dc3a3fb78507f2fe8690819e11e](https://github.com/discourse/discourse/commit/37b7afa522b77dc3a3fb78507f2fe8690819e11e)

and

[https://github.com/discourse/discourse/commit/3377f26ebabf4143aaffd4c9bfa70eadc249f7a7](https://github.com/discourse/discourse/commit/3377f26ebabf4143aaffd4c9bfa70eadc249f7a7)

With @chipet92s’s example, the dropdown will now not provide the option to create a duplicate tag:

 ![24](https://global.discourse-cdn.com/meta/original/3X/1/1/11c707ff830db5617debf896fed4b8cd0d818185.png)

When the tag does not already exist, the “clean” version will now be displayed next to ‘create’:

 ![04](https://global.discourse-cdn.com/meta/original/3X/7/2/727bb206dd6c02e4718788fbad575cad43ea18c6.png)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [27 أكتوبر 2018، 5:00م UTC](https://meta.discourse.org/t/tags-and-spaces/99198/7 "2018-10-27T17:00:11Z")

</div>

This topic was automatically closed after 5 days. New replies are no longer allowed.
