Skip to content

Commit 3d0f786

Browse files
docs: grammar fix
Co-authored-by: intrigus-lgtm <60750685+intrigus-lgtm@users.noreply.github.com>
1 parent 24d28e0 commit 3d0f786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ql-design-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Now, a concrete subclass can derive from `MySpecialExpr::Range` if it wants to e
5858

5959
Let's use an example from the Python libraries: https://github.com/github/codeql/blob/46751e515c40c6b4c9b61758cc840eec1894a624/python/ql/lib/semmle/python/Concepts.qll#L601-L683
6060

61-
`Escaping`, as the name suggests, models various APIs that escape meta-characters. It has a member-predicate `getKind()` that tells you what sort of escaping the modelled function does. For example, if the result of that predicate is `"html"`, then this means that the escaping function is meant to make things safe to embed inside HTML.
61+
`Escaping`, as the name suggests, models various APIs that escape meta-characters. It has a member-predicate `getKind()` that tells you what sort of escaping the modeled function does. For example, if the result of that predicate is `"html"`, then this means that the escaping function is meant to make things safe to embed inside HTML.
6262
`Escaping::Range` is subclassed to model various APIs, and `kind()` is implemented accordingly.
6363
But we can also subclass `Escaping` to, as in the above example, talk about all HTML-escaping functions.
6464

0 commit comments

Comments
 (0)