When running the following document through pandoc
---
title: Test
author: Me
css: https://cdn.jsdelivr.net/npm/water.css@2/out/water.css
---
Intro
----------------------------------
Bla die bla
```
a = 1+2
```


using

pandoc doc.md -s --self-contained -o doc.html

results in

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang xml:lang>
<head>
...
  <style type="text/css; charset=utf-8">

The charset in the type field of the style tag results in firefox and chromium ignoring the CSS. It seems pandoc takes over the entire `Content-Type: text/css; charset=utf-8` that is gets back when downloading the CSS.

Am I right in thinking this is a bug?

Thanks. Best,

Jan



Below the pandoc version I am using. This is on ubuntu 20.04.

$ pandoc --version
pandoc 2.5
Compiled with pandoc-types 1.17.5.4, texmath 0.11.2.2, skylighting 0.7.7
Default user data directory: /home/dlan/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web:  http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.





--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2cbe8dd3-f692-4950-92e7-1ce2fa6d8fe9n%40googlegroups.com.