addyosmani / addyosmani/critical

inline style with @ doesn't work in razor templates

Abierto
#504 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
10.3k
Forks
390
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.