aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Writers/Muse.hs
AgeCommit message (Collapse)AuthorFilesLines
2019-07-14Muse: add RTL supportAlexander Krotov1-0/+7
Closes #5551
2019-05-25Muse writer: do not escape empty line after <br>Alexander Krotov1-0/+1
2019-04-28Muse writer tests: compare Text without converting to [Char]Alexander Krotov1-6/+6
2019-02-18Muse writer: escape secondary notesAlexander Krotov1-0/+1
2018-11-14Muse writer: indent simple tables only on the top levelAlexander Krotov1-0/+6
2018-11-13Muse writer: output tables with one column as grid tablesAlexander Krotov1-0/+12
2018-11-06Use OverloadedStrings extension to simplify Muse writer testsAlexander Krotov1-201/+203
2018-11-05Muse writer: add support for --reference-location=Alexander Krotov1-3/+85
Address #107
2018-10-23Muse writer: do not insert newline before listsAlexander Krotov1-0/+1
2018-10-21Muse writer: use lightweight markup after </em> tagAlexander Krotov1-0/+3
2018-09-16Muse writer: replace newlines in strings with spacesAlexander Krotov1-0/+1
2018-09-11Muse writer: set envInsideBlock = True when rendering notesAlexander Krotov1-0/+7
2018-09-11Muse writer: check for whitespace in the beginning and end of Str'sAlexander Krotov1-0/+3
2018-09-11Muse writer: escape -, ; and > in the beginning of stringsAlexander Krotov1-0/+10
2018-09-11Muse writer: escape list markers in the beginning of notesAlexander Krotov1-0/+6
2018-09-11Muse writer: normalize inline list before testing if tags should be usedAlexander Krotov1-0/+1
2018-09-11Muse writer: use tags instead of lightweight markup for empty stringsAlexander Krotov1-0/+4
2018-09-04hlint Muse writer testsAlexander Krotov1-6/+6
2018-09-02Muse writer: use lightweight markup when possibleAlexander Krotov1-11/+39
2018-05-07Muse writer: add support for left-align and right-align classesAlexander Krotov1-0/+6
Address issue #4542
2018-04-16Muse writer: escape definition list terms starting with list markersAlexander Krotov1-0/+9
2018-04-15Muse writer: escape strings starting with spaceAlexander Krotov1-0/+9
2018-04-10Muse writer: escape > less oftenAlexander Krotov1-0/+1
> should be escaped only when it can start verse, i.e., at the beginning of the line.
2018-04-09Muse writer: don't break headers, line blocks and tables with line breaksAlexander Krotov1-0/+2
2018-04-09Muse writer: correctly output empty headingsAlexander Krotov1-0/+1
2018-04-05Changes to tests to accommodate changes in pandoc-types.John MacFarlane1-2/+4
In https://github.com/jgm/pandoc-types/pull/36 we changed the table builder to pad cells. This commit changes tests (and two readers) to accord with this behavior.
2018-04-05Muse writer: escape horizontal rule only if at the beginning of the lineAlexander Krotov1-1/+3
2018-04-02Muse writer: place header IDs before headerAlexander Krotov1-2/+2
See https://github.com/melmothx/text-amuse/issues/39
2018-04-01Muse writer: only escape brackets when necessaryAlexander Krotov1-0/+3
It includes cases when they can be mistaken for footnotes and links, as well as inside link description.
2018-03-31Muse writer: do not escape list markers unless preceded by spaceAlexander Krotov1-0/+1
2018-03-28Muse writer: escape semicolons and markers after line breakAlexander Krotov1-0/+1
2018-03-25Muse writer: escape ordered list markersAlexander Krotov1-4/+5
Also reduced amount of <verbatim> tags in output to avoid escaping every "-" and word that ends in a full stop.
2018-03-25Muse writer: enable --wrap=preserve for all tests by defaultAlexander Krotov1-5/+5
2018-03-25Muse writer: improve span writingAlexander Krotov1-2/+8
Test more cases when span has or hasn't anchor, class and contents in different combinations.
2018-03-25Muse writer: do not join Span's doing normalizationAlexander Krotov1-0/+3
Separate spans may have different semantics, for example if spans indicate syllables in a word.
2018-03-21Muse writer: don't align ordered list itemsAlexander Krotov1-6/+6
It leads to problems with round-trip test, because aligned line blocks can't be read back.
2018-03-20Muse writer: escape "]" in image titleAlexander Krotov1-0/+1
2018-03-20Muse writer: escape ";" to avoid accidental commentsAlexander Krotov1-0/+1
2018-03-20Muse writer: escape "]" brackets in URLs as "%5D"Alexander Krotov1-0/+15
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane1-0/+2
This seems to be necessary if we are to use our custom Prelude with ghci. Closes #4464.
2018-03-12Muse writer: support spans with anchorsAlexander Krotov1-1/+5
2018-03-07Muse writer: replace smallcaps with emphasis before normalizationAlexander Krotov1-0/+1
2018-03-07Muse writer: output smallcaps as emphasisAlexander Krotov1-1/+1
2018-03-07Muse writer: write empty inline lists as <verbatim></verbatim>Alexander Krotov1-0/+9
2018-03-07Muse writer: escape "-" to avoid creating bullet listsAlexander Krotov1-0/+9
2018-03-06Muse writer: fix math expansion for more than one expression per paragraphAlexander Krotov1-0/+1
2018-03-05Muse writer: expand math before inline list normalizationAlexander Krotov1-0/+1
2018-03-02Muse writer: join strings during inline normalizationAlexander Krotov1-0/+1
2018-02-28Muse writer: change verse markupAlexander Krotov1-5/+3
Use "> " instead of <verse> tag
2018-02-28Muse writer: remove empty strings during inline normalizationAlexander Krotov1-0/+1