aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-03-21 11:07:25 -0700
committerJohn MacFarlane <[email protected]>2025-03-21 11:09:58 -0700
commit6b467b55a007c8781129ef98055dd7e1df09b9b2 (patch)
treef63b5ab03ee65bd03471557fc10b7d8bb006ac7a /src
parent0f71b9e8c473c0edb1c0c7523e8ba2da890e8aa9 (diff)
HTML writer: remove trailing slash from default revealjs url.
This avoids a double slash in the URL's path component, which sometimes causes problems with CDNs. See #8749.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index da1a69c89..17d726372 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -447,7 +447,7 @@ pandocToHtml opts (Pandoc meta blocks) = do
defField "slidy-url"
("https://www.w3.org/Talks/Tools/Slidy2" :: Doc Text) .
defField "slideous-url" ("slideous" :: Doc Text) .
- defField "revealjs-url" ("https://unpkg.com/reveal.js@^4/" :: Doc Text) $
+ defField "revealjs-url" ("https://unpkg.com/reveal.js@^4" :: Doc Text) $
defField "s5-url" ("s5/default" :: Doc Text) .
defField "table-caption-below"
(writerTableCaptionPosition opts == CaptionBelow) .