Skip to content

Commit

Permalink
document that single quote is escaped
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Jan 12, 2021
1 parent 2190a45 commit 592bec2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/werkzeug/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ def secure_filename(filename: str) -> str:


def escape(s):
"""Replace ``&``, ``<``, ``>``, and ``"`` with HTML-safe sequences.
"""Replace ``&``, ``<``, ``>``, ``"``, and ``'`` with HTML-safe
sequences.
``None`` is escaped to an empty string.
Expand Down

0 comments on commit 592bec2

Please sign in to comment.