mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	bugdown: Import convert consistently as bugdown_convert.
This commit is contained in:
		@@ -15,7 +15,7 @@ from zproject.backends import (
 | 
			
		||||
    auth_enabled_helper,
 | 
			
		||||
    AUTH_BACKEND_NAME_MAP
 | 
			
		||||
)
 | 
			
		||||
from zerver.lib.bugdown import convert
 | 
			
		||||
from zerver.lib.bugdown import convert as bugdown_convert
 | 
			
		||||
from zerver.lib.send_email import FromAddress
 | 
			
		||||
from zerver.lib.subdomains import get_subdomain
 | 
			
		||||
from zerver.lib.realm_icon import get_realm_icon_url
 | 
			
		||||
@@ -62,7 +62,7 @@ def zulip_default_context(request: HttpRequest) -> Dict[str, Any]:
 | 
			
		||||
        realm_name = realm.name
 | 
			
		||||
        realm_icon = get_realm_icon_url(realm)
 | 
			
		||||
        realm_description_raw = realm.description or "The coolest place in the universe."
 | 
			
		||||
        realm_description = convert(realm_description_raw, message_realm=realm)
 | 
			
		||||
        realm_description = bugdown_convert(realm_description_raw, message_realm=realm)
 | 
			
		||||
        realm_invite_required = realm.invite_required
 | 
			
		||||
        realm_plan_type = realm.plan_type
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user