# 能否在主题标题中禁止特定字符？

**URL:** <https://meta.discourse.org/t/can-you-prevent-specific-characters-in-a-topic-title/106206>\
**Category:** Product Support\
**Created:** [2019 年1 月 10 日 16:50 UTC](https://meta.discourse.org/t/can-you-prevent-specific-characters-in-a-topic-title/106206 "2019-01-10T16:50:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)\
发布日期： [2019 年1 月 10 日 16:50 UTC](https://meta.discourse.org/t/can-you-prevent-specific-characters-in-a-topic-title/106206/1 "2019-01-10T16:50:37Z")

</div>

I find myself often amending the titles of user topics, specifically when they do something like this;

> [Question] Can I ask a question?

Whilst the wording in the question may vary, but the prefixing of topics is becoming really annoying as, in my opinion, it reduces the readability of the actual question. Often it causes the topic titles to wrap around on the _Latest_ view also so things beginning to look a bit messy.

I’ve had a glance at the settings but I can only find the ability to limit the character length or word length for topic titles, I couldn’t see an option to prevent the use of certain characters. Is there such an option, and, if not, would one be worthy of consideration?

The ideal solution would be to perhaps detect the prefixing (or suffixing) and warn the user and not allow the post to be submitted perhaps rather than just basing it on a specific character being in the post.

So, [Question] or [Solved] or (solved) or [Help] for example would all be candidates to not be allowed - configurable via the settings.

But a post with a title like;

> Why do we use the [SerializeField] attribute?

…would be allowed.

This is kind of in line with the “title pretify” setting I suppose.

Any thoughts?

---

_[View the full topic](https://meta.discourse.org/t/can-you-prevent-specific-characters-in-a-topic-title/106206)._
