The edit that corrects the punctuation in the quotation is: Delete the comma from after said.
The correct version should be: “I didn’t know you were in here,” she said, “otherwise I would have knocked.”
The comma should be placed inside the quotation marks at the end of the statement before the dialogue tag "she said."