Skip to content

Commit

Permalink
Explain the 4-space HTML line-wrapping guidance
Browse files Browse the repository at this point in the history
This clarification was added to the internal style guide a few months ago.
  • Loading branch information
tonyruscoe authored Jan 13, 2022
1 parent 4f848da commit 50c42bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htmlcssguide.html
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,8 @@ <h4 id="HTML_Line-Wrapping" class="numbered">HTML Line-Wrapping</h4>
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;
Expand Down

0 comments on commit 50c42bf

Please sign in to comment.