bcc549f1dd758c15d6006465ece3156e06acec64
As part of https://github.com/discourse/discourse/pull/36678, topic.tags now returns an array of tag objects ({ id, name, slug }) instead of an array of tag name strings. The core change will break the auto_TOC_tags feature which was comparing the configured tag names against topic.tags using includes(), which no longer worked since it was comparing strings to objects. This fix normalizes topic.tags to an array of tag names before comparison, maintaining backwards compatibility with both the old string format and the new object format.
DiscoTOC
A Discourse theme component that generates a table of contents for topics with one click
https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143
Languages
JavaScript
53.3%
Ruby
31.7%
SCSS
15%