aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-04-04Jira: support citations, attachment links, and user linksAlbert Krewinkel6-9/+109
Closes: #6231 Closes: #6238 Closes: #6239
2020-04-03Jira reader: resolve parsing issues of blockquote, colorAlbert Krewinkel3-3/+22
Parsing problems occurring with block quotes and colored text have been resolved. Fixes: #6233 Fixes: #6235
2020-04-02HTML reader: fix parsing unclosed th elements in a table.John MacFarlane1-0/+1
Closes #6247.
2020-04-01Add test fixes for docbook writer changes.John MacFarlane2-8/+16
2020-04-01Docbook writer: Add personname element to docbook author.John MacFarlane1-1/+2
Closes #6244.
2020-04-01Allow hslua 1.1 (#6243)Felix Yan1-2/+2
Builds fine and all tests pass.
2020-04-01Fix description of BulletList Lua typeLevi Gruspe1-5/+5
Change description of BulletList parameter from 'List of Blocks' to 'List of List of Blocks'.
2020-03-31Markdown writer: ensure consistent padding for pipe tables.John MacFarlane1-2/+2
Previously there was no space between text and bar in right-aligned table cells. This commit also ensures space on both sides for centered cells. Closes #6240.
2020-03-31Jira reader: use span with class `underline` for inserted textAlbert Krewinkel2-1/+5
Jira text which is marked as `+inserted+` is converted into pandoc's default representation for underlined text: a span with class `underline`. Previously, the span was marked with the non-standard class `inserted`. Closes: #6237
2020-03-31Jira writer: convert spans with class `underline` to inserted textAlbert Krewinkel4-1/+39
Spans with class `underline` as converted into Jira text marked as `+inserted+`, i.e. surrounded by plus-signs.
2020-03-31Jira writer tests: update image in test/writer.jiraAlbert Krewinkel1-1/+1
2020-03-30Jira writer: add image attributesAlbert Krewinkel1-1/+13
Image attributes are added to the output as image parameters. If the image has a class "thumbnail", then a thumbnail image is generated; all other attributes are discarded in this case. Closes: #6234
2020-03-30Jira reader: retain image attributesAlbert Krewinkel2-1/+22
Jira images attributes as in `!image.jpg|align=right!` are retained as key-value pairs. Thumbnail images, such as `!example.gif|thumbnail!`, are marked by a `thumbnail` class in their attributes. Related to #6234.
2020-03-30Jira reader: read `(?)` icon as "small questionmark" characterAlbert Krewinkel1-1/+1
Closes: #6236
2020-03-30Fix #6228 (#6230)Joseph C. Sible2-7/+8
UUID: Remove `getUUID`, fix `getRandomUUID` and make it polymorphic in PandocMonad.
2020-03-29Clean up and simplify Text.Pandoc.Readers.Docx (#6225)Joseph C. Sible1-61/+43
* Simplify resolveDependentRunStyle * Simplify runToInlines * Simplify isAnchorSpan * Simplify parStyleToTransform * Only call getStyleName once * Simplify ils'' * Use case matching to simplify bodyPartToBlocks * Simplify key expiration
2020-03-29Clean up and simplify Text.Pandoc.Writers.Docx (#6229)Joseph C. Sible1-56/+48
* Use <|> to simplify the Semigroup instance * Use map instead of reimplementing it * Simplify isValidChar * Remove an unnecessary nested do block * Simplify pgContentWidth * Simplify addLang * Simplify newStyles * Avoid an unnecessary fmap in headerFooterEntries * Remove unnecessary monadicity from mkNumbering and mkAbstractNum * Use randomRs instead of constantly messing with the RNG state * Lift common functions out of ifs * Hoist not * Clarify withTextPropM and withParaPropM
2020-03-29Clean up some fmaps (#6226)Joseph C. Sible7-22/+22
* Avoid fmapping when we're just binding right after anyway * Clean up unnecessary fmaps in the LaTeX reader
2020-03-29Split the RNG so they don't end up equal again after 1 call to next (#6227)Joseph C. Sible1-5/+5
2020-03-29Docx reader: better error messages.John MacFarlane1-8/+12
Distinguish between docx parsing and docx container unpacking errors.
2020-03-28More cleanup (#6209)Joseph C. Sible2-7/+5
* Simplify by collapsing a do block into a single <$> * Remove an unnecessary variable: `all` takes any Foldable, so only blocksToInlines needs toList.
2020-03-28Simplify fixAuthors (#6223)Joseph C. Sible1-6/+1
2020-03-28Jira reader: fix multiple parsing problemsAlbert Krewinkel2-2/+2
Multiple parsing problems are resolved, including issues with empty table cells, faulty recognition of closing emphasis characters, and parsing of image attributes. Fixes: #6212 Fixes: #6219 Fixes: #6220
2020-03-27Bump QuickCheck upper bound.John MacFarlane1-1/+1
2020-03-25trypandoc: Add standalone option to the command text (#6210)Mike Tzou1-5/+8
* trypandoc: Add standalone option to the command text * trypandoc: Update 3rd party libraries Those links are taken as-is from the library website.
2020-03-23Add to AUTHORS.mdJohn MacFarlane1-0/+1
2020-03-23Tweaks to changelog.John MacFarlane1-3/+3
2020-03-23Small changes to README.md.John MacFarlane1-2/+2
2020-03-23Update manual date and man paeg.John MacFarlane2-5/+9
2020-03-23Bump version to 2.9.1.John MacFarlane1-1/+1
2020-03-23Provisionally update changelog.John MacFarlane1-0/+99
2020-03-22Finer grained imports of Text.Pandoc.Class submodules (#6203)Albert Krewinkel89-111/+120
This should speed-up recompilation after changes in `Text.Pandoc.Class`, as the number of modules affected by a change will be smaller in general. It also offers faster insights into the parts of `T.P.Class` used within a module.
2020-03-22Small changes to macos release candidate Makefile.John MacFarlane1-2/+2
2020-03-22Fixes to 'notarize' target to preserve hardened runtime.John MacFarlane1-2/+2
2020-03-22macos/Makefile - add notarize target.John MacFarlane1-1/+7
2020-03-22Actions/release-candidate/macos: set up to create package locally.John MacFarlane1-13/+4
We need to sign the binaries before inserting them into the package, so this should be done locally.
2020-03-22Add new distribution-creating Makefile to macos directory.John MacFarlane1-0/+30
2020-03-22Remove old script to create macos package.John MacFarlane1-86/+0
We now do this in CI.
2020-03-22Text.Pandoc.Class: extract submodules PandocIO, PandocPureAlbert Krewinkel4-393/+448
2020-03-21Class: fix missing import when data files are not embeddedAlbert Krewinkel1-0/+3
2020-03-20Make MANUAL more explicit about NBSP handling by all_symbols_escapable (#6201)Fabien Schurter1-3/+6
Fixes #6154.
2020-03-19Add to html5 attributes.John MacFarlane1-0/+7
Add: allow, autocapitalize, decoding, enterkeyhint, imagesizes, imagesrcset, loading.
2020-03-19Jira reader: fix parsing of tables without preceding blanklineAlbert Krewinkel3-2/+7
A bug was fixed which caused faulty parsing if a table was not preceded by a newline and the first table cell had no space after the initial `|` characters. Fixes: #6198
2020-03-18Jira reader: fix parsing of strikeout, emphasisAlbert Krewinkel3-2/+6
A bug was fixed which caused non-emphasized text containing digits and/or non-special symbols (like dots) to sometimes be parsed incorrectly. Fixes: #6196
2020-03-16trypandoc: Add checkbox for standalone option (#6189)Mike Tzou2-3/+13
2020-03-15make changes_github: use details tag to make changelog collapsible.John MacFarlane2-1/+7
2020-03-15Update filter code in doc/filters.md...John MacFarlane1-7/+21
so it works with latest pandoc. Closes #6185.
2020-03-15Improvements to trypandoc (#6188)Mike Tzou1-5/+6
* Use "strict mode" for javascript code * Fetch resources over https Otherwise it will depend on the protocol of the webpage served which is a bad idea. * Remove unnecessary attributes Those attributes are not required in HTML5.
2020-03-15Use implicit Prelude (#6187)Albert Krewinkel160-353/+33
* Use implicit Prelude The previous behavior was introduced as a fix for #4464. It seems that this change alone did not fix the issue, and `stack ghci` and `cabal repl` only work with GHC 8.4.1 or newer, as no custom Prelude is loaded for these versions. Given this, it seems cleaner to revert to the implicit Prelude. * PandocMonad: remove outdated check for base version Only base versions 4.9 and later are supported, the check for `MIN_VERSION_base(4,8,0)` is therefore unnecessary. * Always use custom prelude Previously, the custom prelude was used only with older GHC versions, as a workaround for problems with ghci. The ghci problems are resolved by replacing package `base` with `base-noprelude`, allowing for consistent use of the custom prelude across all GHC versions.
2020-03-15PandocMonad: remove outdated check for base versionAlbert Krewinkel1-6/+1
Only base versions 4.9 and later are supported, the check for `MIN_VERSION_base(4,8,0)` is therefore unnecessary.