DelphiRazor
DelphiRazor copied to clipboard
DelphiRazor HTML scripting engine
The @foreach statement implementation has follows bugs: 1. Traversing @foreach statement duplicates the last iteration value; 2. The first output of @foreach statement produce redundant padding. 
I have tried to loop over objects that are in generic TList or generic TArray. Can not make it work. Would be great if it did. [DashWriter.zip](https://github.com/marcocantu/DelphiRazor/files/4143741/DashWriter.zip)
@foreach (var emp in employee) { @emp.FirstName "+" @emp.LastName (@emp.PhoneExt) @if(@emp.Salary
The check for EOF has been modified so it is called directly after the call to Next. Previously, the ForEach loop was accessing the last record in a dataset twice....
Allow nesting of commands within @ExtraHeader block such as @if
It is now possible to have a multiple-dotted name (i.e. in fully qualified type names). Just changed the GetEntireDottedValue to look after the first dot and continue while there is...