From 9602ad69864dbb9215e58489223a78010fa1b9d9 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Mon, 17 Nov 2025 03:20:49 +0200 Subject: [PATCH] docs: Add the `remove_entities` argument --- docs/parsing/main_classes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/parsing/main_classes.md b/docs/parsing/main_classes.md index ea157b7..fb1ccf0 100644 --- a/docs/parsing/main_classes.md +++ b/docs/parsing/main_classes.md @@ -500,6 +500,7 @@ First, we start with the `re` and `re_first` methods. These are the same methods >>> TextHandler('\n wonderful idea, \reh?').clean() 'wonderful idea, eh?' ``` +Also, you can pass `remove_entities` argument to make `clean` replace HTML entities with their corresponding characters. - Another method that might be helpful in some cases is the `.sort()` method to sort the string for you, as you do with lists ```python