Title in citation appears in italics

Hi!

I’ve been formatting my own output style, and now I’ve run into a bit of a problem. When I reference works with no author, such as government documents, the in-text citation correctly uses title (year). However, the title appears in italics, and I have no idea why.

In the bibliography these works appear correctly according to this: Title.|(Year) Caption.| Place Published: |Publisher |(Series Title |Issue). In the reference itself, the title is listed in plain text.

Why oh why does the title in the in-text citation appear in italics?

Any input is greatly appreciated! I may have developed a blind spot on this issue as I’ve been struggling with it for a long time, and it is very nearly the last glitch in my otherwise well-behaved style!