AlexVonB
0c4b856b9c
Bump to 0.5.0
0.5.0
2020-08-09 21:22:15 +02:00
AlexVonB
e9cc01938a
Merge branch 'develop'
2020-08-09 21:20:44 +02:00
AlexVonB
aceced68eb
cleaning up changes with help of linter
2020-08-09 21:17:39 +02:00
AlexVonB
3b049cdb9c
added egg dirs to gitignore
2020-08-09 21:13:33 +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
5563161c86
remove needless checks for emtpy text
2019-07-12 10:23:17 +02:00
AlexVonB
28e447d9ae
remove prefixed and suffixed spaces from inline tags
...
fixes matthewwithanm#13
2019-07-11 23:27:52 +02:00
Matthew Dapena-Tretter
89d14f4487
Merge pull request #11 from AlexVonB/AlexVonB-patch-1
...
Add newline before and after a markdown list
2019-07-04 08:53:25 -07:00
AlexVonB
5f9243d91d
added tests for matthewwithanm#11
2019-07-04 16:32:21 +02:00
AlexVonB
d0f688d2e4
Add newline before and after a markdown list
...
Fixes matthewwithanm#5 as well as an issue where `<p>foo<p><ul><li>bar</li></ul>` gets converted to `foo * bar` which is not correct
2019-07-04 16:26:09 +02:00
Jonathan Vanasco
5ac08522be
updating classifer to mit license
...
issue #9
2019-06-19 16:17:47 -07:00
Thomas Lange
78afcc173e
Adding MIT license file
2018-10-16 19:11:02 -07:00
Steven Skoczen
b132a6f5b3
Updates to 0.4.1, pkgmeta included directly in setup.
2017-11-28 12:07:31 +13:00
Steven Skoczen
0abe0a29e8
Merge pull request #2 from crhallberg/html-parser
...
Suppress BeautifulSoup warning
2017-11-13 08:48:45 +13:00
Steven Skoczen
4932df631f
Merge pull request #1 from dmpayton/develop
...
Fixes to get tests passing in Python 3.
2017-11-13 08:48:38 +13:00
Chris Hallberg
8696e2bde1
Suppress BeautifulSoup warning
...
by explicitly passing in the default parser as recommended by the error message:
```
/home/challberg/.local/lib/python2.7/site-packages/bs4/__init__.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 35 of the file unroll.py. To get rid of this warning, change code that looks like this:
BeautifulSoup(YOUR_MARKUP})
to this:
BeautifulSoup(YOUR_MARKUP, "html.parser")
markup_type=markup_type))
```
2017-06-12 16:03:04 -04:00
dmpayton
ee53d85c41
Fixes to get tests passing in Python 3.
2016-02-23 15:15:29 -08:00
Matthew Tretter
53ba0daa77
Document options
2013-07-31 23:23:44 -04:00
Matthew Tretter
fb98e9878f
Bump to 0.4.0
0.4.0
2013-07-31 23:12:53 -04: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
3ea09609e6
Add support for "bullets" option
2013-07-31 23:08:36 -04:00
Matthew Tretter
1cd8e56c47
Test ATX and ATX_CLOSED style headings
2013-07-31 22:19:41 -04:00
Matthew Tretter
891a4a8d08
Add "heading_style" option
...
Allow the user to specify a heading style.
2013-07-31 22:17:22 -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
d707d107f6
Support inner Options class
2013-07-31 21:55:30 -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
8a1e2d9403
Add simple img conversion
2013-07-31 19:23:36 -04:00
Matthew Tretter
5563723cbc
Bump to 0.3.0
0.3.0
2013-07-31 18:16:02 -04:00
Matthew Tretter
a9c13a56da
Identify and single out HTML fragment
2013-07-31 18:13:50 -04:00
Matthew Tretter
7bdeb15b18
Use bs4
...
This causes a lot more tests to fail. But it'll be worth it in the end.
2013-07-31 18:01:52 -04:00
Matthew Tretter
87c8f3bd5e
Add development notes to README
2013-07-31 17:20:36 -04:00
Matthew Tretter
0211ac6619
Lint code
2013-07-31 17:20:36 -04:00
Matthew Tretter
2515e9e107
Add lint command
2013-07-31 17:20:32 -04:00
Matthew Tretter
ece61a5b1f
Bump to 0.2.0
0.2.0
2013-07-31 17:11:12 -04:00
Matthew Tretter
f46fb8ebbb
Add short description to README
2013-07-31 17:05:37 -04:00
Matthew Tretter
e521fd402f
Add manifest template
2013-07-31 16:55:53 -04:00
Matthew Tretter
fd6f8db132
Add gitignore
2013-07-31 16:55:30 -04:00
Matthew Tretter
c2f32b8049
Switch to pytest
2013-07-31 16:54:37 -04:00
Matthew Tretter
b92428466d
Change name to markdownify
2013-07-31 16:41:08 -04:00
Matthew Tretter
7f75b0bbce
Update package meta
2013-07-31 16:40:56 -04:00
Matthew Tretter
fac7b4fb8e
Add tests to show entity escaping failures
0.1.0
2012-07-16 12:19:18 -04:00
Matthew Tretter
72d6e6c5ee
Clean up process_tag
...
No more putting text back into nodes
2012-07-16 12:12:28 -04:00
Matthew Tretter
3b5049a975
Pass text to conversion functions
2012-07-16 10:29:14 -04:00
Matthew Tretter
697f7d3276
Add arguments for specifying tags to strip/convert
2012-07-13 17:25:10 -04:00
Matthew Tretter
293937c991
Nested blockquote support
2012-07-06 21:13:59 -04:00
Matthew Tretter
7f391f8e9a
blockquote tag conversion
2012-07-06 21:09:48 -04:00