(Corrects to largely 2-1 ruling in second paragraph) By Daniel Trotta (Reuters) – A U.S. appeals court on Friday upheld a Texas law that bars large social media companies from banning or censoring users based on “viewpoint,” a setback for technology industry groups that say the measure would turn platforms into bastions of dangerous content. The largely 2-1 ruling by the 5th U.S. Circuit Court of Appeals, based in New Orleans, sets up the potential for the U.S. Supreme Court to rule on the law, which conservatives and right-wing commentators have said is necessary to prevent “Big Tech” from su…