Explain the 4-space HTML line-wrapping guidance

This clarification was added to the internal style guide a few months ago.
This commit is contained in:
Tony Ruscoe 2022-01-13 13:46:52 +00:00 committed by GitHub
parent 4f848da9f3
commit 50c42bf956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -420,7 +420,8 @@ instead of an error.)</p>
wrapping long lines if it significantly improves readability.</p>
<p>When line-wrapping, each continuation line should be indented at least 4
additional spaces from the original line.</p>
additional spaces from the original line to distinguish wrapped attributes from
child elements.</p>
<pre><code class="language-html good">&lt;md-progress-circular md-mode="indeterminate" class="md-accent"
ng-show="ctrl.loading" md-diameter="35"&gt;