# Replacing Spaces with Underlines in Tag Creation

**URL:** https://meta.discourse.org/t/replacing-spaces-with-underlines-in-tag-creation/171624
**Category:** Support
**Created:** [November 29, 2020, 10:24am UTC](https://meta.discourse.org/t/replacing-spaces-with-underlines-in-tag-creation/171624 "2020-11-29T10:24:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nildarar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nildarar/32/331927_2.png) [@nildarar](https://meta.discourse.org/u/nildarar)
#### Post date: [November 29, 2020, 10:24am UTC](https://meta.discourse.org/t/replacing-spaces-with-underlines-in-tag-creation/171624/1 "2020-11-29T10:24:51Z")

</div>

When users create a new tag, the discourse replaces the spaces with hyphens (`-`) by default. Is it possible for us to replace spaces with underlines (`_`)?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 29, 2020, 8:50pm UTC](https://meta.discourse.org/t/replacing-spaces-with-underlines-in-tag-creation/171624/2 "2020-11-29T20:50:55Z")

</div>

You will need to write a plugin for that.

---

<div class="post-metadata">

### Author: ![nildarar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nildarar/32/331927_2.png) [@nildarar](https://meta.discourse.org/u/nildarar)
#### Post date: [November 30, 2020, 6:51am UTC](https://meta.discourse.org/t/replacing-spaces-with-underlines-in-tag-creation/171624/3 "2020-11-30T06:51:53Z")

</div>

Is this controlled by the server or the client? I mean, can the theme component be used as well?
