aspnetcore/test/Microsoft.AspNet.Razor.Test/Parser
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
..
CSharp Update Razor directives to format correctly when entering newline. 2015-04-15 11:32:47 -07:00
Html Refactor some pieces of Razor. 2015-04-12 16:49:04 -07:00
PartialParsing Refactor some pieces of Razor. 2015-04-12 16:49:04 -07:00
BlockTest.cs
CallbackParserListenerTest.cs
ParserContextTest.cs
ParserVisitorExtensionsTest.cs
RazorParserTest.cs
WhitespaceRewriterTest.cs