toddams / RazorLight

Template engine based on Microsoft's Razor parsing engine for .NET Core
Apache License 2.0
1.51k stars 261 forks source link

Completely disable HTML escaping #403

Closed bugproof closed 3 years ago

bugproof commented 3 years ago

Problem: when using RazorLight for generation of code other than HTML it still uses HTML escaping like < > etc.

bugproof commented 3 years ago

didn't read this https://github.com/toddams/RazorLight#encoding