Escape the @ character in the Razor view engine

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Escape the @ character in the Razor view engine

Message par Clippy »

Escape the @ character in the Razor view engine
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Escape the @ character in the Razor view engine

Message par Clippy »

`@@` should do it.
jumoo
Messages : 1
Inscription : sam. 12 sept. 2026, 13:28

Re: Escape the @ character in the Razor view engine

Message par jumoo »

@@ is the easiest way to escape it in Razor.文字数 カウント
Répondre

Revenir à « .NET & C# »