luckybilly opened a new pull request #1419: [WEEX-558][Android] Font file url compatible with ' and " URL: https://github.com/apache/incubator-weex/pull/1419 issue: https://issues.apache.org/jira/browse/WEEX-558 use costumer fontFace like this: ``` const domModule = weex.requireModule('dom') domModule.addRule('fontFace', { 'fontFamily': "iconfont2", 'src': "url('http://at.alicdn.com/t/font_1469606063_76593.ttf')" }) ``` double quotes is outside for font file url, it will make an error with lint. when set as this, the font face does not work with android: ``` 'src': 'url("http://at.alicdn.com/t/font_1469606063_76593.ttf")' ``` it cause by [FontDO](https://github.com/apache/incubator-weex/blob/master/android/sdk/src/main/java/com/taobao/weex/utils/FontDO.java#76)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
