<feed xmlns='http://www.w3.org/2005/Atom'>
<title>angular.js/test/ngSanitize, branch v1.2.10</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/'/>
<entry>
<title>fix(ngSanitize): prefer textContent to innerText to avoid layout trashing</title>
<updated>2013-12-03T22:45:30+00:00</updated>
<author>
<name>Michał Gołębiowski</name>
</author>
<published>2013-11-24T20:13:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=bf1972dc1e8ffbeaddfa53df1d49bc5a2177f09c'/>
<id>bf1972dc1e8ffbeaddfa53df1d49bc5a2177f09c</id>
<content type='text'>
innerText depends on styling as it doesn't display hidden elements.
Therefore, it's better to use textContent not to cause unnecessary
reflows. However, IE&lt;9 don't support textContent so the innerText
fallback is necessary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
innerText depends on styling as it doesn't display hidden elements.
Therefore, it's better to use textContent not to cause unnecessary
reflows. However, IE&lt;9 don't support textContent so the innerText
fallback is necessary.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($sanitize): Use same whitelist mechanism as $compile does.</title>
<updated>2013-11-26T22:29:38+00:00</updated>
<author>
<name>Tobias Bosch</name>
</author>
<published>2013-11-25T23:40:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=333523483f3ce6dd3177b697a5e5a7177ca364c8'/>
<id>333523483f3ce6dd3177b697a5e5a7177ca364c8</id>
<content type='text'>
`$sanitize` now uses the same mechanism as `$compile` to validate uris.
By this, the validation in `$sanitize` is more general and can be
configured in the same way as the one in `$compile`.

Changes
- Creates the new private service `$$sanitizeUri`.
- Moves related specs from `compileSpec.js` into `sanitizeUriSpec.js`.
- Refactors the `linky` filter to be less dependent on `$sanitize`
  internal functions.

Fixes #3748.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`$sanitize` now uses the same mechanism as `$compile` to validate uris.
By this, the validation in `$sanitize` is more general and can be
configured in the same way as the one in `$compile`.

Changes
- Creates the new private service `$$sanitizeUri`.
- Moves related specs from `compileSpec.js` into `sanitizeUriSpec.js`.
- Refactors the `linky` filter to be less dependent on `$sanitize`
  internal functions.

Fixes #3748.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix($sanitize): sanitize DOCTYPE declarations correctly</title>
<updated>2013-10-03T07:42:15+00:00</updated>
<author>
<name>paolo-delmundo</name>
</author>
<published>2013-10-02T19:49:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=e66c23fe55f8571a014b0686c8dbca128e7a8240'/>
<id>e66c23fe55f8571a014b0686c8dbca128e7a8240</id>
<content type='text'>
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 #3931
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 #3931
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ngSanitize): sanitizer should not accept &lt;!--&gt; as a valid comment</title>
<updated>2013-09-11T20:40:09+00:00</updated>
<author>
<name>R. Merkert</name>
</author>
<published>2013-08-17T23:09:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=21e9e8cf68ef007136da6cc212d2f1f252fb668a'/>
<id>21e9e8cf68ef007136da6cc212d2f1f252fb668a</id>
<content type='text'>
According to http://validator.w3.org/ , &lt;!--&gt; is not a valid comment
and neither is any comment containing the -- substring.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to http://validator.w3.org/ , &lt;!--&gt; is not a valid comment
and neither is any comment containing the -- substring.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(sanitize): match URI schemes case-insensitively</title>
<updated>2013-07-12T08:29:21+00:00</updated>
<author>
<name>Pete Bacon Darwin</name>
</author>
<published>2013-07-12T08:29:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=7fef06fef9b6af4436f9fed10bd29d0a63707614'/>
<id>7fef06fef9b6af4436f9fed10bd29d0a63707614</id>
<content type='text'>
According to RFC 3986 (http://tools.ietf.org/html/rfc3986#section-3.1)
schemes such as http or mailto are case-insensitive. So links such as
http://server/ and HTTP://server/ are valid and equivalent.

Closes #3210
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to RFC 3986 (http://tools.ietf.org/html/rfc3986#section-3.1)
schemes such as http or mailto are case-insensitive. So links such as
http://server/ and HTTP://server/ are valid and equivalent.

Closes #3210
</pre>
</div>
</content>
</entry>
<entry>
<title>test(ngBindHtml): prevent variable name leak</title>
<updated>2013-01-29T21:26:06+00:00</updated>
<author>
<name>metaweta</name>
</author>
<published>2013-01-29T19:34:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=3b317c5dcb93e1907fe6fae8f1e9b83c35a7a81f'/>
<id>3b317c5dcb93e1907fe6fae8f1e9b83c35a7a81f</id>
<content type='text'>
Add "var" so element is local instead of global

Strict mode doesn't allow undeclared global vars, and these really should be local anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add "var" so element is local instead of global

Strict mode doesn't allow undeclared global vars, and these really should be local anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(linky): allow optional 'target' argument</title>
<updated>2012-11-24T21:21:50+00:00</updated>
<author>
<name>Zach Dexter</name>
</author>
<published>2012-10-09T18:04:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=610927d77b77700c5c61accd503a2af0fa51cfe6'/>
<id>610927d77b77700c5c61accd503a2af0fa51cfe6</id>
<content type='text'>
Closes #1443
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1443
</pre>
</div>
</content>
</entry>
<entry>
<title>feat($sanitize): support telephone links</title>
<updated>2012-11-11T09:31:27+00:00</updated>
<author>
<name>Anna Vester</name>
</author>
<published>2012-11-10T20:37:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=04450c48dfea065e1c9e4ab8adad94993ed1b037'/>
<id>04450c48dfea065e1c9e4ab8adad94993ed1b037</id>
<content type='text'>
Per http://www.ietf.org/rfc/rfc3966.txt support tel: links
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per http://www.ietf.org/rfc/rfc3966.txt support tel: links
</pre>
</div>
</content>
</entry>
<entry>
<title>chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module</title>
<updated>2012-04-11T22:50:47+00:00</updated>
<author>
<name>Vojta Jina</name>
</author>
<published>2012-04-10T23:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/angular.js/commit/?id=5bcd7198664dca2bf85ddf8b3a89f417cd4e4796'/>
<id>5bcd7198664dca2bf85ddf8b3a89f417cd4e4796</id>
<content type='text'>
Create build for other modules as well (ngResource, ngCookies):
- wrap into a function
- add license
- add version

Breaks `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module. Apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create build for other modules as well (ngResource, ngCookies):
- wrap into a function
- add license
- add version

Breaks `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module. Apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);`
</pre>
</div>
</content>
</entry>
</feed>
