CARY, N.C. – Panther Creek High School Principal Camille Hedrick is apologizing for a senior quote in the yearbook some in the community are calling “offensive,” “sexist” and “hateful.”

“I don’t know what’s worse,” the senior quote read, “candy corn, or women’s rights.”

MORE NEWS: From Classroom to Consulate Chef: Culinary Student Lands Dream Job at U.S. Embassy in Paris

The quote, which appeared under the photo of a senior at the school, created a backlash online that forced Hedrick to respond Wednesday through a statement posted to the school’s Twitter page, The News & Observer reports.  

“I would like to apologize to our school community for the offensive senior quote that was not caught by the yearbook review process,” Hedrick wrote. “This sexist quote is a poor representation of our school and particularly our senior class.

“I am disappointed that it was published, and doubly disappointed that one of our students would harbor – let alone express – such a hateful viewpoint. This isn’t who we are.”

Hedrick promised to make sure the same mistake doesn’t happen again.

The quote controversy is among numerous instances highlighted by EAGnews this year of schools struggling to censor students in the annual publications.

The News & Observer highlighted a similar incident that also occurred in the Wake County school system, at Millbrook High School in Raleigh.

MORE NEWS: Know These Before Moving From Cyprus To The UK

Principal Dana King apologized Thursday for a student’s yearbook quote that read, “I like my women how I like my milk: white, rich and 2% fat.”

In Hamlet, North Carolina, administrators at Richmond Early College High School confiscated yearbooks hours after handing them out because of a senior’s use of the “controversial” Donald Trump quote “Build that wall,” the Richmond County Daily Journal reports.

In Sun Tan Valley, Arizona, administrators at Poston Butte High School were forced to offer refunds and special stickers to cover more than a dozen senior quotes that referenced sex, drugs and other disturbing behavior.

“You need a good plant to get high (pole vault),” one quote read.

“If you have never thought about dropping out and becoming a stripper once, you’re lying,” read another.

“Me and my boy shower together naked!” another student wrote.

Sun Tan Valley school officials apologized profusely for failing to properly vet the annuals, as did the teacher tasked with overseeing the yearbook process. The teacher was also banned from working on the yearbook in the future, The San Tan Valley News reports.

Meanwhile, in places like Greenville, South Carolina’s Wade Hampton High School, administrators have worked to censor all quotes referencing religion, politics or “similar controversial matters,” according to WYFF.

Senior Kate Geib told the news site she received a text message from the yearbook staff over her senior quote, Psalm 18:2’s “The Lord is my rock,” because it allegedly violated school policy.

Another student who used a quote about God from his favorite country song also received a text message asking him to select something else.

“So they decided to remove all potentially offensive topics,” the student told the news site in January. “That was the statement that I received yesterday.”

Greenville County Schools spokeswoman Beth Brotherton later issued a statement to “clarify” that the ban was really just a big “misunderstanding,” WBTW reports.