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

Better lists #22

Merged
merged 2 commits into from
May 2, 2013
Merged

Better lists #22

merged 2 commits into from
May 2, 2013

Conversation

neocotic
Copy link
Owner

@neocotic neocotic commented May 2, 2013

Improved the support for ordered and unordered list translation and added support for nested lists.

The following are all generated from the expected HTML:

Simple ordered list

1. ordered-item1
2. ordered-item2
3. ordered-item3

Simple unordered list

* unordered-item1
* unordered-item2
* unordered-item3

Nested ordered list

1. ordered-item1
2. ordered-item2
  1. ordered-sub-item1
  2. ordered-sub-item2
  3. ordered-sub-item3
3. ordered-item3

Nested unordered list

* unordered-item1
* unordered-item2
  * unordered-sub-item1
  * unordered-sub-item2
  * unordered-sub-item3
* unordered-item3

Mixed nested list 1

* unordered-item1
* unordered-item2
  1. ordered-sub-item1
  2. ordered-sub-item2
  3. ordered-sub-item3
* unordered-item3

Mixed nested list 2

1. ordered-item1
2. ordered-item2
  * unordered-sub-item1
  * unordered-sub-item2
  * unordered-sub-item3
3. ordered-item3

A new test fixture has been added for this functionality.

@ghost ghost assigned neocotic May 2, 2013
neocotic added a commit that referenced this pull request May 2, 2013
@neocotic neocotic merged commit 1b3c019 into wip-2.1.0 May 2, 2013
@neocotic neocotic deleted the better-lists branch May 2, 2013 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant