And what Republicans will probably end up with when they formally vote next week to ratify the platform approved in committee on Tuesday is a text that can seem almost Victorian in its moralizing and deeply critical of how the modern American family has evolved.

The platform demands that lawmakers use religion as a guide when legislating, stipulating “that man-made law must be consistent with God-given, natural rights.”

It also encourages the teaching of the Bible in public schools because, the amendment said, a good understanding of its contents is “indispensable for the development of an educated citizenry.”

The pornography provision was not in an initial draft that the Republican National Committee drew up and released on Sunday. But delegates added it on Monday at the same time they were inserting many of the amendments opposing gay and transgender rights. It calls pornography “a public menace” that is especially harmful to children.

Much of the most combative debate centered on language in the platform that describes gay and transgender people, and efforts to strip those words out and replace them with language proposed by a minority contingent of socially moderate delegates.

An amendment to specifically recognize that gay people are targets of the Islamic State caused a stir among more conservative delegates who said they felt there was no need to single out any one group. As the delegate who offered the amendment, Giovanni Cicione of Rhode Island, argued his case — by saying he believed it was an “innocuous and important” way to tell gay people the Republican Party does not exclude them — another delegate moved to shut off the debate.