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 Normalize README.md build status badges. 2015-04-06 11:55:11 -07:00
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 Add travis and appveyor CI support. 2015-04-01 15:54:21 -07:00
global.json Update global.json, sources=>projects 2015-04-02 09:20:25 -07:00
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.