jonkemp/inline-css

Wrong Css Gradient Inlining

Open

#52 opened on 2016年9月21日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)JavaScript (80 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (440 stars)
PR merge metrics
 (PR metrics pending)

説明

Hello!

This code: .class { background: -webkit-linear-gradient(-45deg, #306ab2 0%, #00e1ed 70%, #00e1ed 70%); }

Inlines like a: <div class="class" style="background: -webkit-linear-gradient(-45deg, #306ab20%, #00e1ed70%, #00e1ed70%);">Some content</div>

We losing "spaces" between color hashes and percent values.

コントリビューターガイド