There are solutions that lie midway between abortion and “keeping the legs closed”.
She is free to avail herself of any of them.
And “KEEP YOUR LEGS CLOSED!” is not what young girls have been being taught and there are far too many PC people out there who refuse to tell them to.