Rachel Manija Brown (rachelmanija) and Sherwood Smith (sartorias) have an important essay up at Publishers Weekly, Say Yes to Gay YA, where they recount how an agent offered them representation for a YA novel on the condition that they either straighten a gay point-of-view character, or remove him from the book entirely.
You can read the details there, as well as suggestions for how to put an end to this kind of thing. You can do the same on Rachel’s journal, if you prefer LJ, but the PW post includes a mechanism for posting anonymously, if you’d prefer that. They’re particularly interested in hearing from any authors who have experienced similar pushback from agents or editors, so as to explore just how widespread the problem is. The reader-side viewpoint is also valuable, to help prove there is an audience for these books.
If you’re on Twitter, the hashtag is #YesGayYA.