Surface.Formatter.Phases.Newlines (surface v0.7.0) View Source

Standardizes usage of newlines.

  • Prevents more than 1 empty line in a row.
  • Prevents an empty line separating an opening/closing tag from the contents inside.

Link to this section Summary

Link to this section Functions

Callback implementation for Surface.Formatter.Phase.run/2.