Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pgadmin-org/pgadmin4
/ sanitize_external_text
Function
sanitize_external_text
web/pgadmin/utils/text_sanitize.py:30–33 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
28
29
30
def
sanitize_external_text(text):
31
if
text is None:
32
return
None
33
return
html.escape(_CONTROL_CHARS_RE.sub(
''
, str(text)), quote=True)
Callers
14
execute_post_connection_sql
Method · 0.90
runTest
Method · 0.90
deploy_on_cloud
Function · 0.90
update_cloud_server
Function · 0.90
verify_credentials
Function · 0.90
check_cluster_name_availability
Function · 0.90
verify_credentials
Function · 0.90
verification_ack
Function · 0.90
get_projects
Function · 0.90
get_regions
Function · 0.90
get_instance_types
Function · 0.90
get_database_versions
Function · 0.90
Calls
1
escape
Method · 0.80
Tested by
1
runTest
Method · 0.72