Commit Graph

23 Commits

Author SHA1 Message Date
Bruno Miguens
321e9eb5f6 Add ignore comment tags 2021-02-05 19:40:43 +00:00
AlexVonB
77d1e99bd5 satisfy linter 2021-01-12 22:42:06 +01:00
AlexVonB
97c78ef55b Merge branch 'fix-extra-headline-whitespace' into develop 2021-01-12 22:38:59 +01:00
AlexVonB
453b604096 Fixing autolinks
When checking a links href and text for
equality, first un-escape the underscores
in the text -- because six escapes them.
This should fix #29.
2021-01-02 17:22:36 +01:00
AlexVonB
4f8937810b dont replace newlines and tabs with spaces
this should fix #17, as all leading new lines
were replaced with a single space, which in turn
was rendered before the # of a headline
2020-12-29 10:28:50 +01:00
Igor Dvorkin
05ea8dc58a Add many tests and support image tag 2020-12-13 17:40:53 +00:00
Igor Dvorkin
7780f82c30 Using a regexp to determine if a tag is a heading. 2020-12-11 16:54:14 -08:00
Igor Dvorkin
d558617cd7 Add support for headings that include nested block elements 2020-11-20 06:03:51 -08:00
SimonIT
1b3136ad04 Fix parsing corrupt html 2020-08-31 13:15:10 +02:00
SimonIT
ca98892953 Support the start attribute for ordered lists 2020-08-11 11:43:02 +02:00
AlexVonB
aceced68eb cleaning up changes with help of linter 2020-08-09 21:17:39 +02:00
AlexVonB
b747378b52 fixed nested lists and wrote correct tests
nested lists did not work: after a nested list was over,
a new line was inserted. this leads to a large gap before
the rest of the parent list.

lists are prefixed and suffixed with a single newline,
this is now represented in the tests.
2020-08-09 21:11:16 +02:00
AlexVonB
ee73d89879 Merge pull request #14 from AlexVonB/fix-inline-spaces
remove prefixed and suffixed spaces from inline tags
2020-08-09 20:24:23 +02:00
AlexVonB
28e447d9ae remove prefixed and suffixed spaces from inline tags
fixes matthewwithanm#13
2019-07-11 23:27:52 +02:00
AlexVonB
5f9243d91d added tests for matthewwithanm#11 2019-07-04 16:32:21 +02:00
Matthew Tretter
aa10053fbb Test custom bullets 2013-07-31 23:11:39 -04:00
Matthew Tretter
253a34c2d7 Test nested unordered lists 2013-07-31 23:08:39 -04:00
Matthew Tretter
1cd8e56c47 Test ATX and ATX_CLOSED style headings 2013-07-31 22:19:41 -04:00
Matthew Tretter
e5a1784f30 Remove unneeded raw string 2013-07-31 21:59:35 -04:00
Matthew Tretter
f60d910335 Add "autolinks" option
This option allows you to disable the creation of "autolink" style
links.
2013-07-31 21:58:48 -04:00
Matthew Tretter
1ef4dd1468 Add shortcut link syntax 2013-07-31 19:23:39 -04:00
Matthew Tretter
934c97b342 Test img tag conversion 2013-07-31 19:23:38 -04:00
Matthew Tretter
c2f32b8049 Switch to pytest 2013-07-31 16:54:37 -04:00