mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Fixes #7698.
markup: Allow installed arbitrary Asciidoc extension via path validation.
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
c8f45d1d86
commit
01dd7c16af
@@ -37,18 +37,6 @@ var (
|
||||
FailureLevel: "fatal",
|
||||
}
|
||||
|
||||
AllowedExtensions = map[string]bool{
|
||||
"asciidoctor-html5s": true,
|
||||
"asciidoctor-bibtex": true,
|
||||
"asciidoctor-diagram": true,
|
||||
"asciidoctor-interdoc-reftext": true,
|
||||
"asciidoctor-katex": true,
|
||||
"asciidoctor-latex": true,
|
||||
"asciidoctor-mathematical": true,
|
||||
"asciidoctor-question": true,
|
||||
"asciidoctor-rouge": true,
|
||||
}
|
||||
|
||||
AllowedSafeMode = map[string]bool{
|
||||
"unsafe": true,
|
||||
"safe": true,
|
||||
|
Reference in New Issue
Block a user