Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

chore(sanitize): new implementation of the html sanitized parser #11790

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore(sanitize): new implementation of the html sanitized parser
This implementation is based on inert document

Closes #11442
Closes #11443
  • Loading branch information
mhevery committed May 14, 2015
commit a9ce84d7e263a01888b2cc719e3ae0b62dfec2f2
11 changes: 0 additions & 11 deletions docs/content/error/$sanitize/badparse.ngdoc

This file was deleted.

10 changes: 10 additions & 0 deletions docs/content/error/$sanitize/ddns.ngdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@ngdoc error
@name $sanitize:ddns
@fullName DOMDocument not supported
@description

This error occurs when `$sanitize` sanitizer determines that `DOMDocument` api is not supported by the current browser.

This api is necessary for safe parsing of HTML strings into DOM trees and without it the sanitizer can't sanitize the input.

The api is present in all supported browsers including IE 9.0, so the presence of this error usually indicates that Angular's `$sanitize` is being used on an unsupported platform.
309 changes: 0 additions & 309 deletions lib/htmlparser/htmlparser.js

This file was deleted.

Loading