mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Preserve HTML Text for link render hooks
The context now have two text methods: * Text - rendered * PlainText Fixes #6629
This commit is contained in:
@@ -24,6 +24,7 @@ type LinkContext interface {
|
||||
Destination() string
|
||||
Title() string
|
||||
Text() string
|
||||
PlainText() string
|
||||
}
|
||||
|
||||
type Render struct {
|
||||
|
Reference in New Issue
Block a user