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

Detect list type and apply as ol/ul@type #3

Open
Kroc opened this issue Jun 11, 2012 · 0 comments
Open

Detect list type and apply as ol/ul@type #3

Kroc opened this issue Jun 11, 2012 · 0 comments
Labels

Comments

@Kroc
Copy link
Owner

Kroc commented Jun 11, 2012

ol/ul@type has been added back to the HTML5 spec, allowing us to specify the list type as letter, number, roman, &c. It has always been my intention for ReMarkable to detect the type of list and reflect this in the HTML, but the type attribute was removed from the spec early on.

To do this, ReMarkable will have to detect the type of list element used as the first item in the list and output the type for the whole list accordingly. This can be done reasonably easy with PHP5.3 anonymous functions for the list search / replace. At the same time this will make solving issue #2 easy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant