# 新的自动完成样式需要什么rebake？

**URL:** <https://meta.discourse.org/t/what-rebake-is-required-for-the-new-autocomplete-styling/249642>\
**Category:** Support\
**Tags:** hashtag-autocomplete\
**Created:** [2022年十二月17日 21:09 UTC](https://meta.discourse.org/t/what-rebake-is-required-for-the-new-autocomplete-styling/249642 "2022-12-17T21:09:59Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)\
**Post date:** [2023年一月18日 00:16 UTC](https://meta.discourse.org/t/what-rebake-is-required-for-the-new-autocomplete-styling/249642/17 "2023-01-18T00:16:39Z")

</div>

我刚刚为此合并了一个 rake 任务：

> <https://github.com/discourse/discourse/pull/19876>
>
> Since the new hashtag format has been added, we want site
> admins to be able to …rebake old posts with the old hashtag
> format. This can now be done with \`rake hashtags:mark\_old\_format\_for\_rebake\`
> which goes and marks posts with the old cooked version of hashtags
> in this format for rebake:
> 
> \`\`\`
> \<a class=\\"hashtag\\" href=\\"/c/ux/14\\"\>#\<span\>ux\</span\>\</a\>
> \`\`\`
> 
> c.f. https://meta.discourse.org/t/what-rebake-is-required-for-the-new-autocomplete-styling/249642/12

`bundle exec rake hashtags:mark_old_format_for_rebake`

---

_[View the full topic](https://meta.discourse.org/t/what-rebake-is-required-for-the-new-autocomplete-styling/249642)._
