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

Strips quotes from font-family? #29

Closed
GoogleCodeExporter opened this issue Sep 16, 2015 · 3 comments
Closed

Strips quotes from font-family? #29

GoogleCodeExporter opened this issue Sep 16, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Given a style tag containing:

body {
font-family: "Arial Unicode MS" , Arial , sans-serif;
}

It seems to convert it into:

body {
font-family: Arial Unicode MS , Arial , sans-serif;
}

However, I'm not sure whether browsers will interpret the second the same 
as the first.


Original issue reported on code.google.com by dob...@gmail.com on 28 Aug 2009 at 8:43

@GoogleCodeExporter
Copy link
Author

Here's a patch that seems to resolve the issue - css string values with a space 
in them 
will be wrapped in double quotes.

A test case is also included.

Original comment by dob...@gmail.com on 28 Aug 2009 at 9:05

Attachments:

@GoogleCodeExporter
Copy link
Author

I believe that this issue belongs in the AntiSamy project, not the ESAPI. ESAPI
depends on the AntiSamy project.

Original comment by chrisisbeef on 14 Oct 2009 at 7:36

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Author

Ah sorry I got confused

Original comment by dob...@gmail.com on 14 Oct 2009 at 10:42

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

No branches or pull requests

1 participant