mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 10:57:05 +00:00
:)
This commit is contained in:
@@ -54,8 +54,8 @@ func (r resource) loadFromBase(dir string) string {
|
||||
result := string(b)
|
||||
|
||||
if runtime.GOOS != "windows" {
|
||||
result = strings.Replace(result, "\n", "\r\n", -1)
|
||||
result = strings.Replace(result, "\r\r", "", -1)
|
||||
result = strings.ReplaceAll(result, "\n", "\r\n")
|
||||
result = strings.ReplaceAll(result, "\r\r", "")
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user