-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Все вернул назад, плюс разрешил теги
- Loading branch information
1 parent
9c19112
commit 592b067
Showing
3 changed files
with
34 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
PROFILES_PAGE_SIZE = 7 | ||
ALLOWED_TAGS_BY_FRONT = [ | ||
"ol", | ||
"ul", | ||
"li", | ||
"em", | ||
"strong", | ||
"u", | ||
"br", | ||
"p", | ||
"span", | ||
# разрешенные теги котоыре не нужно очищать | ||
] | ||
ALLOWED_ATTRIBUTES_BY_FRONT = { | ||
"span": ["class", "style", "contenteditable"], | ||
# разрещенные атрибуты. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters