From a59976be18585033b29a9f323477f1194b53d3d7 Mon Sep 17 00:00:00 2001 From: Eddie Monge Jr Date: Thu, 7 Nov 2013 13:57:00 -0800 Subject: docs(errors/compile/tplrt): display html block as code HTML elements were getting parsed by as HTML elements Closes #4827 --- docs/content/error/compile/tplrt.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/content/error') 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, '

blah blah blah

' instead of simply 'blah blah blah'. +For example, `

blah blah blah

` instead of simply `blah blah 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. -- cgit v1.2.3