mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -424,7 +424,7 @@ func TestExtractShortcodes(t *testing.T) {
|
||||
return fmt.Sprintf("HAHA%s-%dHBHB", shortcodePlaceholderPrefix, counter)
|
||||
}
|
||||
|
||||
content, err := s.extractShortcodes(this.input, p.withoutContent())
|
||||
content, err := s.extractShortcodes([]byte(this.input), p.withoutContent())
|
||||
|
||||
if b, ok := this.expect.(bool); ok && !b {
|
||||
if err == nil {
|
||||
|
Reference in New Issue
Block a user