Skip to content

Commit 38ff5ab

Browse files
authored
Update README with correct capitalization (#159)
Properly capitalize JavaScript and GitHub.
1 parent 98beb94 commit 38ff5ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sanitize_html/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ HTML Sanitizer for Dart
22
=======================
33

44
When embedding HTML from untrusted source in a website it is important to
5-
sanitize the HTML to prevent injection of untrusted Javascript (XSS exploits).
5+
sanitize the HTML to prevent injection of untrusted JavaScript (XSS exploits).
66
This package provides a simple function sanitizing HTML to prevent XSS exploits
77
and limit interference with other elements on the page.
88

99
**Disclaimer:** This is not an officially supported Google product.
1010

1111
This package uses an HTML5 parser to build-up an in-memory DOM tree and
12-
filter elements and attributes, in-line with [rules employed by Github][1]
13-
when sanitizing GFM (Github Flavored Markdown).
12+
filter elements and attributes, in-line with [rules employed by GitHub][1]
13+
when sanitizing GFM (GitHub Flavored Markdown).
1414

15-
This removes all inline Javascript, CSS, `<form>`, and other elements that
15+
This removes all inline JavaScript, CSS, `<form>`, and other elements that
1616
could be used for XSS. This sanitizer is more strict than necessary to
1717
guard against XSS as this sanitizer also attempts to prevent the sanitized
1818
HTML from interfering with the page it is injected into.

0 commit comments

Comments
 (0)