fix #5988 - add inline script support to static rendering
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Oqtane.Models
|
||||
get => _url;
|
||||
set
|
||||
{
|
||||
_url = (value.Contains("://")) ? value : (!value.StartsWith("/") && !value.StartsWith("~") ? "/" : "") + value;
|
||||
_url = (string.IsNullOrEmpty(value) || value.Contains("://")) ? value : (!value.StartsWith("/") && !value.StartsWith("~") ? "/" : "") + value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user