Go to file
N. Taylor Mullen 6fa3e405af Add support for minimized attributes in TagHelpers.
- Updated the Razor parser to understand minimized attributes instead of just treating them like plain text. This just involved encompassing minimized attributes in their own blocks just like the other attributes found on the HTML tag.
- Updated TagHelperParseTreeRewriter to only accept minimized attributes for unbound attributes.
- Updated IReadOnlyTagHelperAttribute/TagHelperAttribute to have a Minimized property to indicate that an attribute was minimized.
- Updated parser level block structures to represent minimized attributes as null syntax tree nodes.
- Updated chunk level structures to represent minimized attributes as null chunks.

#220
2015-05-15 12:23:06 -07:00
src Add support for minimized attributes in TagHelpers. 2015-05-15 12:23:06 -07:00
test Revert "Reacting to updated CoreCLR packages" 2015-05-15 12:19:37 -07:00
.gitattributes
.gitignore
.travis.yml Fix travis. 2015-05-13 16:30:17 -07:00
CONTRIBUTING.md
LICENSE.txt
NuGet.Config
README.md
Razor.sln
appveyor.yml
build.cmd
build.sh
global.json
makefile.shade

README.md

Razor

AppVeyor: AppVeyor

Travis: Travis

The Razor syntax provides a fast, terse, clean and lightweight way to combine server code with HTML to create dynamic web content. This repo contains the parser and the C# code generator for the Razor syntax.

This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.