addyosmani / addyosmani/critical

inline style with @ doesn't work in razor templates

Đang mở
#504 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
10.3k
Fork
390
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.