diff --git a/content/api/gen-docs.janet b/content/api/gen-docs.janet index d80122e..19690ed 100644 --- a/content/api/gen-docs.janet +++ b/content/api/gen-docs.janet @@ -11,7 +11,7 @@ (set ret (string/replace " " " " ret))) ret) -(def- replacer (peg/compile ~(% (any (+ (/ '(set "/*%") ,|(string "_" (0 $))) '1))))) +(def- replacer (peg/compile ~(% (any (+ (/ '(set "%*/:<>?") ,|(string "_" (0 $))) '1))))) (defn- sym-to-filename "Convert a symbol to a filename. Certain filenames are not allowed on various operating systems." [fname]