"Glee" honored the late Whitney Houston last night -- but it wasn't intentional.

Last night's Valentine's Day episode included Amber Riley performing one of Whitney's biggest hits, Dolly Parton's "I Will Always Love You" -- but it was filmed long before the singer died Saturday in Los Angeles.

The performance was simple and understated, but still moving, especially in the wake of the singer's passing.

After her song aired, Amber tweeted "Ok I got through it, only minimal tears. I hope you are proud Ms. Houston. :) thanks guys for the kind words."