Skip to content

Commit 1b31135

Browse files
committed
somem minor fixes
1 parent 66076b1 commit 1b31135

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ output:
248248

249249
If 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

253256
Nope, isn't a goal. Although it should be as fast as possible while still using

src/Cubist.Helium.Tests/HeTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)