Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for composed fonts using quotes like "New Times Roman" #9

Closed
RomiPierre opened this issue Jul 17, 2012 · 2 comments
Closed
Labels

Comments

@RomiPierre
Copy link

Composed fonts like "New Times Roman" and others fonts using quotes in style sheets are generating an error during parsing styles.

Sample

@martinnormark martinnormark mentioned this issue Mar 14, 2013
6 tasks
@tobio
Copy link

tobio commented Apr 30, 2014

I can't reproduce this error. Premailer appears to be behaving correctly with the below markup

<style>div { font-family: "New Times Roman" }</style>
<div></div>

@martinnormark
Copy link
Contributor

I tested this since the introduction of AngleSharp in #76, and it now works.

The markup and CSS above produces the following when inlined, which is valid: http://stackoverflow.com/a/5352973/2972

<div style=\"font-family: &quot;New Times Roman&quot;\"></div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants