1 verses of the World English Bible have both "on" and "public".
Acts 5:18 and laid hands on the apostles, then put them in public custody.
In other translations: ASV Darby