Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inline style with @ doesn't work in razor templates #504

Open
nfvind opened this issue Jun 15, 2021 · 0 comments
Open

inline style with @ doesn't work in razor templates #504

nfvind opened this issue Jun 15, 2021 · 0 comments

Comments

@nfvind
Copy link

nfvind commented Jun 15, 2021

Im having trouble with @font-face in my inline styles, as the @ is used in razor syntax as a variable. The solution to this problem is to escape it with double @ "@@font-face". My issue or problem is, I need to be able to replace @ with double @@ for this to work.

Is there already a solution for this in the current build or is this something I can create?

friendly regards
Nicklas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant