markdown misbehaving