For the source text click/tap here: Pesachim 85
To download, click/tap here: PDF
For what reason were the insides of the gates of Jerusalem not sanctified? Because lepers protect themselves by sitting under them; in the sun they protect themselves from the sun and in the rain, they sit in the gateway to protect themselves from the rain. Lepers are not permitted to enter Jerusalem. In order to allow them to use the gates of the city as shelter from the elements, the gateways were not sanctified.
A contradiction in the Mishnah regarding the status of the doorjamb is noted. The contradiction is resolved by distinguishing between the gates of Yerushalayim and the gates of the Azarah.
The gate of Yerushalayim is considered outside Yerushalayim, while the gates of the Beis Hamikdash are considered inside the Beis Hamikdash, besides for the gate of Nikanor. The Gemora says that the gates of Yerushalayim were not made holy, because there were lepers and others who used to go under the gateway for shelter.
Who was Nikanor, where did he come from? And what did he contribute to the Temple?