Go to file
N. Taylor Mullen fedd53aab8 Update Razor directives to format correctly when entering newline.
- Existing Razor directives layout, inherits, addTagHelper, tagHelperPrefix and removeTagHelper should only ever span a single line and need to cause a re-parse when a newline is entered during design time. To do this modified their AcceptedCharacters to accept anything other than newline rather than anything.
- Updated existing tests to now expect AcceptedCharacters.AnyExceptNewLine when directives are present.
- This change also enables the model directive in Mvc since it also uses the inherit directives core parsing.

#332
2015-04-15 11:32:47 -07:00
src Update Razor directives to format correctly when entering newline. 2015-04-15 11:32:47 -07:00
test Update Razor directives to format correctly when entering newline. 2015-04-15 11:32:47 -07:00
.gitattributes
.gitignore
.travis.yml Update .travis.yml and appveyor.yml to build quietly. 2015-04-07 16:16:19 -07:00
CONTRIBUTING.md
LICENSE.txt
NuGet.Config
README.md
Razor.sln
appveyor.yml Update .travis.yml and appveyor.yml to build quietly. 2015-04-07 16:16:19 -07:00
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.