mirror of
https://github.com/go-gitea/gitea
synced 2024-12-27 02:54:27 +00:00
d98694e6ca
* Update bluemonday to v1.0.15 (#16379) * Fix TESTS
13 lines
340 B
Go
Vendored
13 lines
340 B
Go
Vendored
// 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 {
|
|
return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
|
|
}
|