Your ROOT_URL in app.ini is http://git.slaventius.ru/ but you are visiting http://37.143.12.169/test3k/authDB/blame/commit/5ef6837b26e974d57b9c36a5dfeae8842013bde1/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go You should set ROOT_URL correctly, otherwise the web may not work correctly.

16 lines
376 B

2 years ago
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build !go1.10
// +build !go1.10
package bidirule
func (t *Transformer) isFinal() bool {
if !t.isRTL() {
return true
}
return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
}