mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
parent
69a56420ae
commit
33c738116c
3 changed files with 19 additions and 5 deletions
|
@ -201,6 +201,10 @@ type shortcode struct {
|
|||
length int // the length in bytes in the source file
|
||||
}
|
||||
|
||||
func (s shortcode) insertPlaceholder() bool {
|
||||
return !s.doMarkup || s.info.Config.Version == 1
|
||||
}
|
||||
|
||||
func (s shortcode) innerString() string {
|
||||
var sb strings.Builder
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue