From 50c42bf9562679211768648da4143028f34a4d92 Mon Sep 17 00:00:00 2001 From: Tony Ruscoe Date: Thu, 13 Jan 2022 13:46:52 +0000 Subject: [PATCH] Explain the 4-space HTML line-wrapping guidance This clarification was added to the internal style guide a few months ago. --- htmlcssguide.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htmlcssguide.html b/htmlcssguide.html index 7421739..7b6074c 100644 --- a/htmlcssguide.html +++ b/htmlcssguide.html @@ -420,7 +420,8 @@ instead of an error.)

wrapping long lines if it significantly improves readability.

When line-wrapping, each continuation line should be indented at least 4 -additional spaces from the original line.

+additional spaces from the original line to distinguish wrapped attributes from +child elements.

<md-progress-circular md-mode="indeterminate" class="md-accent"
     ng-show="ctrl.loading" md-diameter="35">