test: Make Pandoc style syntax highlighting test check whitespace support

This commit is contained in:
TurtleArmy 2026-04-12 16:37:44 -04:00
parent b53aed2d67
commit bbbb12638b

View file

@ -1528,7 +1528,7 @@ func TestCodeblockLanguageTransformation(t *testing.T) {
// Pandoc language extracting
// https://pandoc.org/MANUAL.html#extension-fenced_code_attributes
test(
"```{#mycode .numberLines .haskell startFrom=\"100\"}\n"+
"``` { #mycode .numberLines .haskell startFrom=\"100\" } \n"+
"qsort [] = []\n"+
"qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++\n"+
" qsort (filter (>= x) xs)\n"+