aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error
diff options
context:
space:
mode:
authorEddie Monge Jr2013-11-07 13:57:00 -0800
committerPete Bacon Darwin2013-11-13 21:06:37 +0000
commita59976be18585033b29a9f323477f1194b53d3d7 (patch)
treee155ec994cc4e23e8f16dcad9f9b8d0366988902 /docs/content/error
parent40d1e10520a9914b57a8aafb7cef33a5f9625415 (diff)
downloadangular.js-a59976be18585033b29a9f323477f1194b53d3d7.tar.bz2
docs(errors/compile/tplrt): display html block as code
HTML elements were getting parsed by as HTML elements Closes #4827
Diffstat (limited to 'docs/content/error')
-rw-r--r--docs/content/error/compile/tplrt.ngdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/error/compile/tplrt.ngdoc b/docs/content/error/compile/tplrt.ngdoc
index d39c9a4f..3c29dbdc 100644
--- a/docs/content/error/compile/tplrt.ngdoc
+++ b/docs/content/error/compile/tplrt.ngdoc
@@ -6,7 +6,7 @@
When a directive is declared with `template` (or `templateUrl`) and `replace` mode on, the template
must have exactly one root element. That is, the text of the template property or the content
referenced by the templateUrl must be contained within a single html element.
-For example, '<p>blah <em>blah</em> blah</p>' instead of simply 'blah <em>blah</em> blah'.
+For example, `<p>blah <em>blah</em> blah</p>` instead of simply `blah <em>blah</em> blah`.
Otherwise, the replacement operation would result in a single element (the directive) being replaced
with multiple elements or nodes, which is unsupported and not commonly needed in practice.