packages feed

pandoc 2.11.0.3 → 2.11.0.4

raw patch · 8 files changed

+56/−15 lines, 8 filesdep ~citeprocPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: citeproc

API changes (from Hackage documentation)

Files

MANUAL.txt view
@@ -943,7 +943,9 @@  `--html-q-tags` -:   Use `<q>` tags for quotes in HTML.+:   Use `<q>` tags for quotes in HTML.  (This option only has an+    effect if the `smart` extension is enabled for the input+    format used.)  `--ascii` 
cabal.project view
@@ -4,8 +4,8 @@   flags: +embed_data_files -trypandoc   ghc-options: -j +RTS -A64m -RTS -source-repository-package-    type: git-    location: https://github.com/jgm/citeproc-    tag: 3230fb6fa1beff3e27389be20217a31d3c1207e9+-- source-repository-package+--     type: git+--     location: https://github.com/jgm/citeproc+--     tag: 0.1.0.3 
changelog.md view
@@ -1,5 +1,20 @@ # Revision history for pandoc +## pandoc 2.11.0.4 (2020-10-21)++  * Commonmark writer: fix regression with fenced divs (#6768).+    Starting with 2.10.1, fenced divs no longer render with+    HTML div tags in commonmark output.  This is a regression+    due to our transition from cmark-gfm.  This commit fixes it.++  * Use released version of citeproc.  (This fixes a mis-step+    in the 2.11.0.3 release, which is now deprecated.)++  * Use latest sylighting, with support for `groovy`.++  * Document that --html-q-tags requires the smart extension on the reader+    (#6766).+ ## pandoc 2.11.0.3 (2020-10-20)    * Use latest citeproc (closes #6765). This fixes a problem with@@ -19,7 +34,7 @@    * Modify `--version` output.  Use space more efficiently and report the     citeproc and ipynb versions, along with skylighting, texmath, and-    pandoc-types.  Drop the word default before "user data directory."+    pandoc-types.  Drop the word "default" before "user data directory."    * DocBook reader: bibliomisc and anchor support (#6754, Nils Carlson).     Also ensure that bibliodiv without a title no longer results in
man/pandoc.1 view
@@ -1,7 +1,7 @@ .\"t-.\" Automatically generated by Pandoc 2.11.0.2+.\" Automatically generated by Pandoc 2.11.0.4 .\"-.TH "Pandoc User\[cq]s Guide" "" "October 20, 2020" "pandoc 2.11.0.3" ""+.TH "Pandoc User\[cq]s Guide" "" "October 20, 2020" "pandoc 2.11.0.4" "" .hy .SH NAME pandoc - general markup converter@@ -981,6 +981,8 @@ .TP \f[B]\f[CB]--html-q-tags\f[B]\f[R] Use \f[C]<q>\f[R] tags for quotes in HTML.+(This option only has an effect if the \f[C]smart\f[R] extension is+enabled for the input format used.) .TP \f[B]\f[CB]--ascii\f[B]\f[R] Use only ASCII characters in output.
pandoc.cabal view
@@ -1,6 +1,6 @@ cabal-version:   2.2 name:            pandoc-version:         2.11.0.3+version:         2.11.0.4 build-type:      Simple license:         GPL-2.0-or-later license-file:    COPYING.md@@ -404,7 +404,7 @@                  blaze-markup          >= 0.8      && < 0.9,                  bytestring            >= 0.9      && < 0.12,                  case-insensitive      >= 1.2      && < 1.3,-                 citeproc              >= 0.1.0.2  && < 0.2,+                 citeproc              >= 0.1.0.3  && < 0.2,                  commonmark            >= 0.1.0.2  && < 0.2,                  commonmark-extensions >= 0.2      && < 0.3,                  commonmark-pandoc     >= 0.2      && < 0.3,
src/Text/Pandoc/Writers/Markdown.hs view
@@ -419,6 +419,7 @@ blockToMarkdown' _ Null = return empty blockToMarkdown' opts (Div attrs ils) = do   contents <- blockListToMarkdown opts ils+  variant <- asks envVariant   return $     case () of          _ | isEnabled Ext_fenced_divs opts &&@@ -428,7 +429,8 @@                 literal ":::" <> blankline            | isEnabled Ext_native_divs opts ||              (isEnabled Ext_raw_html opts &&-              isEnabled Ext_markdown_in_html_blocks opts) ->+              (variant == Commonmark ||+               isEnabled Ext_markdown_in_html_blocks opts)) ->                 tagWithAttrs "div" attrs <> blankline <>                 contents <> blankline <> "</div>" <> blankline            | isEnabled Ext_raw_html opts &&
stack.yaml view
@@ -10,8 +10,8 @@ - texmath-0.12.0.3 - rfc5051-0.2 - haddock-library-1.9.0-- skylighting-0.10.0.2-- skylighting-core-0.10.0.2+- skylighting-0.10.0.3+- skylighting-core-0.10.0.3 - doclayout-0.3 - emojis-0.1 - hslua-1.1.2@@ -22,8 +22,7 @@ - commonmark-0.1.0.2 - commonmark-extensions-0.2.0.1 - commonmark-pandoc-0.2.0.1-- git: https://github.com/jgm/citeproc-  commit: 3230fb6fa1beff3e27389be20217a31d3c1207e9+- citeproc-0.1.0.3  ghc-options:    "$locals": -fhide-source-paths -Wno-missing-home-modules
+ test/command/6768.md view
@@ -0,0 +1,21 @@+```+% pandoc -tcommonmark+::: custom_div+This is a div+:::+^D+<div class="custom_div">++This is a div++</div>+```++```+% pandoc -tcommonmark-raw_html+::: custom_div+This is a div+:::+^D+This is a div+```