# Bug in apa.csl treatment of genre for forum posts

**URL:** <https://discourse.citationstyles.org/t/bug-in-apa-csl-treatment-of-genre-for-forum-posts/1269>\
**Category:** CSL Development\
**Created:** [July 29, 2015, 8:58pm UTC](https://discourse.citationstyles.org/t/bug-in-apa-csl-treatment-of-genre-for-forum-posts/1269 "2015-07-29T20:58:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Reagle](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.citationstyles.org/joseph_reagle/32/319_2.png) [@Joseph\_Reagle](https://discourse.citationstyles.org/u/Joseph_Reagle)\
**Post date:** [July 29, 2015, 8:58pm UTC](https://discourse.citationstyles.org/t/bug-in-apa-csl-treatment-of-genre-for-forum-posts/1269/1 "2015-07-29T20:58:15Z")

</div>

I’ve added genre to my bibliographic YAML data, but in the case of forum posts it is printed without brackets. It works if I place “post” in the match, as see in the following:

```auto
      <else-if type="post post-weblog webpage" match="any">
        <text variable="genre" prefix=" [" suffix="]"/>
      </else-if>

```
