According to the article, the version she submitted had the word "heck" instead of "hell".
I don't agree with the school, but I can (somewhat) understand them being anxious about the valedictorian using a turn of phrase some might find objectionable, especially after they cleared a non-objectionable version.