Go to file
N. Taylor Mullen cfd63e1e2e Change HTML splitting logic to not split on surrogate pairs.
- When a surrogate pair is about to be split down the middle we reduce the size of our split by 1 character. This way we split right before a surrogate pair. In the case of zero width joiners, if we split on a zero width joiner we still render valid bytes because the zero width joiner by itself can stand alone.
- Added tests for the various split cases.

#2470
2018-07-13 17:18:56 -07:00
benchmarks/Microsoft.AspNetCore.Razor.Performance Added benchmarks for syntax tree generation 2018-06-19 14:52:20 -07:00
build Update dependencies.props 2018-07-08 12:25:33 -07:00
shared/Microsoft.AspNetCore.Razor.TagHelpers.Testing.Sources
src Change HTML splitting logic to not split on surrogate pairs. 2018-07-13 17:18:56 -07:00
test Change HTML splitting logic to not split on surrogate pairs. 2018-07-13 17:18:56 -07:00
tooling Merge branch 'release/2.1' into dev 2018-06-27 17:23:05 -07:00
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props Add certificate names for code signing 2018-06-05 22:34:33 -07:00
Directory.Build.targets
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
Razor.sln
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2018-07-08 12:25:33 -07:00
korebuild.json Update infrastructure for the 2.2 release 2018-06-28 16:21:25 -07:00
run.cmd
run.ps1 Update bootstrapper scripts (automated commit) [ci skip] 2018-05-25 16:16:52 -07:00
run.sh Update bootstrapper scripts (automated commit) [ci skip] 2018-05-25 16:16:52 -07:00
version.props Revert "Fix local VSIX creation." 2018-05-21 17:20:48 -07:00

README.md

Razor

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

Building from source

To run a complete build on command line only, execute build.cmd or build.sh without arguments. See developer documentation for more details.