# Censored words not being censored while under \[code\] tag

**URL:** <https://meta.discourse.org/t/censored-words-not-being-censored-while-under-code-tag/37997>\
**Category:** Feature\
**Created:** [2016年一月15日 10:40 UTC](https://meta.discourse.org/t/censored-words-not-being-censored-while-under-code-tag/37997 "2016-01-15T10:40:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)\
**Post date:** [2016年一月15日 10:40 UTC](https://meta.discourse.org/t/censored-words-not-being-censored-while-under-code-tag/37997/1 "2016-01-15T10:40:33Z")

</div>

The censored words i added to my community are not being censored inside a [code] tag. If i type the censored word outside like a normal post it works fine.

Any one else getting this as well?

---

<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:** [2016年一月15日 10:44 UTC](https://meta.discourse.org/t/censored-words-not-being-censored-while-under-code-tag/37997/2 "2016-01-15T10:44:49Z")

</div>

We generally don’t process stuff inside code blocks, so I’d say this is by design at the moment..

---

<div class="post-metadata">

**Author:** ![Alankrit\_Choudh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alankrit_choudh/32/119698_2.png) [@Alankrit\_Choudh](https://meta.discourse.org/u/Alankrit_Choudh)\
**Post date:** [2016年一月15日 10:46 UTC](https://meta.discourse.org/t/censored-words-not-being-censored-while-under-code-tag/37997/3 "2016-01-15T10:46:38Z")

</div>

Sounds fair enough, but it really doesn’t serve the purpose of “censoring” if folks can still use it under a code tag. I hope it added to discourse as a feature. In the near future.

---

<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:** [2016年一月15日 10:49 UTC](https://meta.discourse.org/t/censored-words-not-being-censored-while-under-code-tag/37997/4 "2016-01-15T10:49:35Z")

</div>

> [@Alankrit\_Choudh](#):
>
> but it really doesn’t serve the purpose of “censoring” if folks can still use it under a code tag.

𝓟𝓮𝓸𝓹𝓵𝓮 𝓬𝓪𝓷 𝓪𝓵𝔀𝓪𝔂𝓼 𝓬𝓱𝓮𝓪𝓽, 𝓽𝓱𝓲𝓼 𝓯𝓮𝓪𝓽𝓾𝓻𝓮 𝓲𝓼 𝓯𝓸𝓻 𝓹𝓮𝓸𝓹𝓵𝓮 𝔀𝓱𝓸 𝓪𝓻𝓮 𝓷𝓸𝓽 𝓽𝓻𝔂𝓲𝓷𝓰 𝓽𝓸 𝓬𝓱𝓮𝓪𝓽. 𝓒𝓱𝓮𝓪𝓽𝓮𝓻𝓼 𝓰𝓮𝓽 𝓯𝓵𝓪𝓰𝓰𝓮𝓭
