Commit graph

7 commits

Author SHA1 Message Date
Sean Yesmunt
6ad31a3ce9 refactor lbrytv web server 2019-11-11 13:27:29 -05:00
Sesamestrong
dbaf98412f Sanitize urls with single quotation marks
This fixes behavior for URLs with single quotes within them.
The behavior for a url like `https://severalglamorousthing.426729.repl.co/google's%20logo.png` would be no background at all; the CSS rule would change to `background-image: url((unknown));`.
This fixes the problem and adds `\` to every `'` in the image url.
The behavior of the repo with this fix would be a conversion of the url provided above to  `https://severalglamorousthing.426729.repl.co/google\'s%20logo.png`, which can be put into `\`url('${url}')\`` without breaking the CSS rule.
2019-10-22 11:27:52 -04:00
Cameron Yick
fa549fcb0f [feature] Only animate CardMedia GIFs if hovering #2029 2019-10-13 12:48:38 -04:00
Sean Yesmunt
102665ac62 prettier 2019-05-07 17:38:29 -04:00
Sean Yesmunt
81fc2d596c fix: default thumbnail on prod electron 2019-04-19 14:58:43 -04:00
Sean Yesmunt
f3e2a8a29c combine history and downloads page 2019-04-01 01:40:15 -04:00
Sean Yesmunt
de3639f29c new build setup for web/electron 2019-03-04 23:48:04 -05:00
Renamed from src/renderer/component/cardMedia/view.jsx (Browse further)