You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If strip=False then escaping introduces extra characters than the given string which might lead to integrity constraint errors while saving to database. This is caused since when we have a 100 character column and we give 80 characters of HTML with strip as False then validation passes through but the escaping adds more characters that might cause the string length to be more than 100 characters while saving to database. The safe way will be to use strip=True. I don't know how this can be handled in this layer but just wanted to give a heads up on this.
Thanks for the library.
The text was updated successfully, but these errors were encountered:
If
strip=False
then escaping introduces extra characters than the given string which might lead to integrity constraint errors while saving to database. This is caused since when we have a 100 character column and we give 80 characters of HTML with strip as False then validation passes through but the escaping adds more characters that might cause the string length to be more than 100 characters while saving to database. The safe way will be to usestrip=True
. I don't know how this can be handled in this layer but just wanted to give a heads up on this.Thanks for the library.
The text was updated successfully, but these errors were encountered: