Hashtag linked categories do not show up properly in the composer


(Gaurang Tandon) #1
 #javascript

JS - 1. Getting Started ...
 #javascript:getting-started-v2 

JS - 2. Code your own adventure
 #javascript:javascript-beginner-en-x9DnD 

JS - 3. Intro to Functions
 #javascript:javascript-beginner-en-6LzGd 

JS - 4. RPS
 #javascript:javascript-beginner-en-Bthev-mskY8

(works only in the codecademy site, but you might get the idea)

In the composer, not all of these links look live. After you submit the post they appear fine. If you go back into the composer they will not look live again.

The ones that aren’t showing as live have this class (in the composer):

class="hashtag hashtag-tested tag-hashtag-tested"

The ones that do show live have:

class="hashtag"

This is an image demo:

Note that only the first two are showing live (clickable). But when you submit the post, they all appear live.

This is the relevant JavaScript category over those forums, if it’s needed.


Credits to @AlbionsRefuge for the initial draft :slight_smile:


(Gaurang Tandon) #2

I got the relevant files after some manual digging. They are these three:

The following file adds the "hashtag-tested" class:

Now, it should be probably easy to find the bug.


(Alan Tan) #3

I’ll have a look next week.


(Alan Tan) #4

Thanks for reporting @GaurangTandon :slight_smile: Turns out category slugs are case sensitive but my query wasn’t.

Fixed in


(Alan Tan) #5