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 Add project.lock.json to .gitignore 2015-02-16 13:41:35 -08:00
.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 Renaming Nuget.org feed key name to Nuget. 2015-03-10 11:39:20 -07:00
README.md Normalize README.md build status badges. 2015-04-06 11:55:11 -07:00
Razor.sln Update .kproj => .xproj. 2015-03-11 14:03:14 -07:00
appveyor.yml Update .travis.yml and appveyor.yml to build quietly. 2015-04-07 16:16:19 -07:00
build.cmd Do not use deprecated `dnvm -x86` switch 2015-03-11 17:15:01 -07:00
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.