1197. Injunctions to restrain obstruction of justice.

In a proper case, the court may restrain the publication of pending proceedings if it tends to prejudice