Two compartments on the posterior surface of the medial malleolus are for the tendons of the tibialis posterior and flexor digitorum longus muscles. The tendon of the tibialis posterior is medial to the tendon of the flexor digitorum longus.