Go to file
N. Taylor Mullen e30e74dc5a Handle unclosed and invalid structure HTML tags for TagHelpers.
- Added detection of unclosed tags (tags without begin/end).
- Added recovery of potentially unclosed tags.
- Added detection of invalid structure tags (tags that do not end with '>').
- Modified detection of bad attribute values to be parse errors instead of runtime errors.
- Modified RazorParser to sort errors. This made writing tests more intuitive and ultimately ensures that the editor shows errors in the correct order.
- Added tests to validate invalid tag structure.
- Added tests to validate invalid attributes.
- Added tests to validate unclosed tags.

#104
2014-12-22 14:28:35 -08:00
src Handle unclosed and invalid structure HTML tags for TagHelpers. 2014-12-22 14:28:35 -08:00
test Handle unclosed and invalid structure HTML tags for TagHelpers. 2014-12-22 14:28:35 -08:00
.gitattributes
.gitignore
CONTRIBUTING.md
LICENSE.txt
NuGet.Config Updating to dev NuGet.config 2014-12-08 15:24:47 -08:00
README.md
Razor.sln
build.cmd
build.sh
global.json
makefile.shade

README.md

Razor

The Razor syntax provide 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 vNext. You can find samples, documentation and getting started instructions for ASP.NET vNext at the Home repo.