-
Notifications
You must be signed in to change notification settings - Fork 27.3k
ngsanitize problems with doctype #3931
Conversation
Added spec
Removed spec.
Added unit test to sanitizeSpec.js.
|
Thanks for the PR!
If you need to make changes to your pull request, you can update the commit with Thanks again for your help! |
|
Real Name: Paolo del Mundo On Sun, Sep 8, 2013 at 10:23 PM, Mary Poppins notifications@github.comwrote:
Paolo del Mundo |
|
👍 |
HTML to be sanitized that contains a DOCTYPE declaration were causing the HTML parser to throw an error. Now the parser correctly removes the declarations when sanitizing HTML. Closes angular#3931
|
@paolodm - can you confirm that you did sign the CLA, we couldn't find your name in the list. |
|
Yes, signed it awhile ago. |
HTML to be sanitized that contains a DOCTYPE declaration were causing the HTML parser to throw an error. Now the parser correctly removes the declarations when sanitizing HTML. Closes angular#3931
HTML to be sanitized that contains a DOCTYPE declaration were causing the HTML parser to throw an error. Now the parser correctly removes the declarations when sanitizing HTML. Closes angular#3931
Fixes #902.
ngSanitize removes the doctype element.