mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
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:
parent
4f848da9f3
commit
50c42bf956
|
@ -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"><md-progress-circular md-mode="indeterminate" class="md-accent"
|
||||
ng-show="ctrl.loading" md-diameter="35">
|
||||
|
|
Loading…
Reference in New Issue
Block a user