Skip to content

Commit 0955541

Browse files
LaiskyNarretz
authored andcommitted
docs(guide/expression): replace tt by code
Replaces <tt> elements with <code> in expressions guide. Looks identical in Chromium Closes angular#12437 Conflicts: docs/content/guide/expression.ngdoc
1 parent bc3dd03 commit 0955541

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/content/guide/expression.ngdoc

+2-3
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ You can try evaluating different expressions here:
7070
<ul>
7171
<li ng-repeat="expr in exprs track by $index">
7272
[ <a href="" ng-click="removeExp($index)">X</a> ]
73-
<tt>{{expr}}</tt> => <span ng-bind="$parent.$eval(expr)"></span>
73+
<code>{{expr}}</code> => <span ng-bind="$parent.$eval(expr)"></span>
7474
</li>
7575
</ul>
7676
</div>
@@ -344,5 +344,4 @@ When using a directive that takes an expression:
344344
<ul>
345345
<li ng-repeat="item in ::items">{{item.name}};</li>
346346
</ul>
347-
```
348-
347+
```

0 commit comments

Comments
 (0)