mirror of
https://github.com/tiennm99/styleguide.git
synced 2026-10-14 04:16:33 +00: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:
1 parent
4f848da9f3
commit
50c42bf956
1 file changed
+2
-1
+2
-1
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user