Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle unformatted html lists #32

Closed
tjchaplin opened this issue Aug 15, 2013 · 1 comment · Fixed by #33
Closed

Handle unformatted html lists #32

tjchaplin opened this issue Aug 15, 2013 · 1 comment · Fixed by #33
Labels

Comments

@tjchaplin
Copy link
Contributor

When list element tags are unformatted like the following:

<ul><li>item1</li><li>item2</li></ul>

The application returns:

* item1* item2

It should return:

* item1
* item2
@neocotic
Copy link
Owner

Good spot! I'll look into this when I find some time, unless you're able to fix it.

tjchaplin added a commit to tjchaplin/html.md that referenced this issue Aug 15, 2013
Without this batch the application doesn't handle li and ol where the html is inline:
```html
<ul><li>item1</li><li>item2</li></ul>
```
The returned format outputs above as:
```
* item1* item2
```

This patch allows for unformatted html lists to be displayed as proper markdown:
```
* item1
* item2
```

fixes neocotic#32
neocotic added a commit that referenced this issue Aug 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants