File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -248,6 +248,9 @@ output:
248248
249249If you want that , [ASP .NET ](https :// learn.microsoft.com/en-us/aspnet/core/) has you covered.
250250
251+ There is some basic DIY template support (see the `ITemplate ` interface ), but it 's not a goal to make this a full -blown templating engine .
252+
253+
251254### Performance
252255
253256Nope , isn 't a goal . Although it should be as fast as possible while still using
Original file line number Diff line number Diff line change @@ -59,15 +59,15 @@ public void CanRenderTemplateNode()
5959 public void CanRenderTemplateNodeAsAttributeValue ( )
6060 {
6161 var tt = new TextTemplate ( ) ;
62- var link = Div ( ( "class" , tt ) ) ;
62+ var div = Div ( ( "class" , tt ) ) ;
6363
6464
65- var html = link . ToString ( ) ;
65+ var html = div . ToString ( ) ;
6666 _output . WriteLine ( html ) ;
6767 Assert . Equal ( "<div class=\" \" ></div>" , html ) ;
6868
6969 tt . Text = "myClass" ;
70- var html2 = link . ToString ( ) ;
70+ var html2 = div . ToString ( ) ;
7171 _output . WriteLine ( html2 ) ;
7272 Assert . Equal ( "<div class=\" myClass\" ></div>" , html2 ) ;
7373 }
You can’t perform that action at this time.
0 commit comments