I hereby claim:
- I am acmcc on github.
- I am acmcc (https://keybase.io/acmcc) on keybase.
- I have a public key ASAvaDOFswvx3vsKhj8r5nSMjLc61XDhfjjvcS0uYDgEHgo
To claim this, I am signing this object:
/*! twilio-video.js 2.0.0-dev | |
The following license applies to all parts of this software except as | |
documented below. | |
Copyright (c) 2015, Twilio, inc. | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are |
I hereby claim:
To claim this, I am signing this object:
require './inliner' | |
html = <<END_STR | |
<!doctype html> | |
<html> | |
<head> | |
<style id="head-styles">p { font-weight: bold }</style> | |
<style>p { color: red }</style> | |
</head> | |
<body> |
require 'nokogiri' | |
require 'premailer' | |
html = <<END_STR | |
<!doctype html> | |
<html> | |
<head> | |
<style>p { color: red }</style> | |
</head> | |
<body> |
require 'nokogiri' | |
require 'premailer' | |
html = '<!doctype html><html><head><style>p { color: red }</style></head><body><p>Josh — test</p></body></html>' | |
p = Premailer.new(html, with_html_string: true, adapter: :nokogiri, input_encoding: 'UTF-8') | |
puts p.to_inline_css |