"either the sea goes on for ever, or else it comes to an end suddenly, and you sail over the edge"

It is a modern misconception that most people in the middle ages thought the Earth was flat. In fact, this view was essentially dead among the educated by the 14th century; most believed the view of the Ancient Greeks, who realized in the 4th century BC that the Earth was spherical.