summaryrefslogtreecommitdiff
path: root/test/Tests/Readers/Muse.hs
AgeCommit message (Collapse)Author
2022-07-03Remove Muse reader round-trip tests.John MacFarlane
These are nondeterministic and have repeatedly failed on strange edge cases. The Muse reader's maintainer has not been active, and it isn't worth developer time to chase down these problems.
2022-06-06Muse tests: do no try to roundtrip strings containing \DEL charAlbert Krewinkel
Fixes: #8108
2022-02-23Tests: improve location reporting of failing testsAlbert Krewinkel
2021-02-07Avoid unnecessary use of NoImplicitPrelude pragma (#7089)Albert Krewinkel
2020-09-13Fix hlint suggestions, update hlint.yaml (#6680)Christian Despres
* Fix hlint suggestions, update hlint.yaml Most suggestions were redundant brackets. Some required LambdaCase. The .hlint.yaml file had a small typo, and didn't ignore camelCase suggestions in certain modules.
2020-04-28Support new Underline element in readers and writers (#6277)Vaibhav Sagar
Deprecate `underlineSpan` in Shared in favor of `Text.Pandoc.Builder.underline`.
2020-04-15Use the new builders, modify readers to preserve empty headersdespresc
The Builder.simpleTable now only adds a row to the TableHead when the given header row is not null. This uncovered an inconsistency in the readers: some would unconditionally emit a header filled with empty cells, even if the header was not present. Now every reader has the conditional behaviour. Only the XWiki writer depended on the header row being always present; it now pads its head as necessary.
2020-04-15Adapt to the newest Table type, fix some previous adaptation issuesdespresc
- Writers.Native is now adapted to the new Table type. - Inline captions should now be conditionally wrapped in a Plain, not a Para block. - The toLegacyTable function now lives in Writers.Shared.
2020-04-15Implement the new Table typedespresc
2020-03-13Update copyright year (#6186)Albert Krewinkel
* Update copyright year * Copyright: add notes for Lua and Jira modules
2019-10-15Muse reader: do not allow closing asterisks to be followed by "*"Alexander Krotov
2019-10-15Muse reader: do not split series of asterisks into symbols and emphasisAlexander Krotov
Fixes #5821
2019-10-15Muse reader: do not terminate emphasis on "*" not followed by spaceAlexander Krotov
2019-10-04hlint Muse reader testsAlexander Krotov
2019-07-14Muse: add RTL supportAlexander Krotov
Closes #5551
2019-06-09Muse reader: test that links inside image descriptions workAlexander Krotov
2019-05-25Muse reader: allow images inside link descriptionsAlexander Krotov
2019-02-18Muse reader: add secondary note supportAlexander Krotov
2019-02-06Muse reader: test that block level markup does not break <verbatim>Alexander Krotov
2019-02-04Add missing copyright notices and remove license boilerplate (#5112)Albert Krewinkel
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592.
2018-12-25Muse reader tests: test #cover directiveAlexander Krotov
2018-11-14Muse reader: trim whitespace before parsing grid table cellsAlexander Krotov
2018-11-14Muse reader: add grid tables supportAlexander Krotov
2018-10-28Muse: Make tables round-tripAlexander Krotov
2018-10-28Muse reader: try to parse lists before trying to parse tableAlexander Krotov
This ensures that tables inside lists are parsed correctly.
2018-10-27Remove misleading comment from Muse reader testsAlexander Krotov
pandoc follows Text::Amuse rules instead of being bug compatible with Emacs Muse
2018-10-27Muse reader: forbid whitespace after opening and before closing markup elementsAlexander Krotov
See https://github.com/melmothx/text-amuse/issues/44 for discussion on these rules
2018-10-26Muse reader: parse page breaksAlexander Krotov
2018-10-22Muse reader: allow footnotes to start with empty lineAlexander Krotov
A space character was required after footnote marker, now newline is allowed.
2018-10-21Muse reader: allow empty headersAlexander Krotov
Previously empty headers caused parser to terminate without parsing the rest of the document.
2018-10-17Muse reader: allow examples to be indented with tabsAlexander Krotov
2018-10-17Muse reader: remove indentation from examples indicated by {{{ and }}}Alexander Krotov
2018-10-15Only override --quickcheck-tests=N if N is not default value (100).John MacFarlane
Some of the round-trip tests are set to do a maximum of 25 trials when the default value is given. Closes #4956.
2018-10-10Test that Muse reader can parse code with = sign insideAlexander Krotov
(fixed by previous commit)
2018-10-10Muse reader: fix parsing of empty cellsAlexander Krotov
2018-10-05Muse reader: allow table caption to contain "+"Alexander Krotov
2018-09-27HTML, Muse reader tests: reduce time taken by round-trip test.John MacFarlane
2018-09-22Muse reader tests: more testsAlexander Krotov
Check that indented blocks that end in self-terminating blocks (such as block tags and verse) can be terminated by paragraphs.
2018-09-21Muse reader: do not allow code markup to be followed by digitAlexander Krotov
2018-09-11Muse reader tests: accept Blocks instead of Block in round trip testAlexander Krotov
This way testcase can be shrinked better up to removing all blocks completely.
2018-09-06Muse reader: close the </quote> in indented tag testAlexander Krotov
There is already a separate test for unclosed </quote>.
2018-09-04Remove redundant $Alexander Krotov
2018-09-02Muse reader: autonumber sections in the correct orderAlexander Krotov
Parsing now stops at each section header to ensure the header is registered before parsing of the next section starts.
2018-09-02Muse reader: allow newline after opening "*" or "**"Alexander Krotov
Emacs Muse allows this.
2018-08-31Muse reader: parse <verse> tag in one passAlexander Krotov
instead of using parseFromString. This change makes it possible to have verbatim </verse> tag inside verse.
2018-08-30Fix a typo: s/afeter/after/Alexander Krotov
2018-08-12Muse reader: don't allow digits after closing marker in lightweight markupAlexander Krotov
This change makes reader more compatible with Emacs Muse
2018-05-31Muse reader: add support for floating imagesAlexander Krotov
2018-05-31Muse reader: add support for images with specified widthAlexander Krotov
2018-05-30Muse reader: parse image URLs without "guard" and "takeExtension"Alexander Krotov