vkalinichev / postcss-rtl

PostCSS plugin for RTL-adaptivity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Colon in value breaks stylesheet

lastw opened this issue · comments

For example,

div { 
    background: url('http://placecage.com/400/400') 0 0 
}

transforms to

[dir=ltr] div {
    background: url('http://placecage.com/400/400') 0 0
} 

[dir=rtl] div { 
    background: url('http 
}

RTL-ed value is splitted by :

Will fixed in the next release. Thanks for the report!

Nice!

No need for PR? I've fixed that too — https://github.com/lastw/postcss-rtl/tree/colons-in-value :)

I will be glad to take this PR )