Resistance to spreading of liquids by sharp edges