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

fix(outlines): only use headings text content in the outline #133

Merged
merged 1 commit into from
Dec 21, 2017

Conversation

rdeltour
Copy link
Member

The headings extraction script now returns the elements textContent property
instead of their innerHTML.

A smarter processing could be devised in a future version:

  • detect an empty content and report a dummy text
  • trim long content

Fixes #129

@rdeltour rdeltour added this to the v0.8.0 “Beta 4” milestone Dec 21, 2017
@rdeltour rdeltour self-assigned this Dec 21, 2017
The headings extraction script now returns the elements `textContent` property
instead of their `innerHTML`.

A smarter processing could be devised in a future version:
- detect an empty content and report a dummy text
- trim long content

Fixes #129
@rdeltour rdeltour force-pushed the fix/unstyle-headings-outline branch from 2be9d2b to 084fe4a Compare December 21, 2017 00:48
@rdeltour rdeltour merged commit 084fe4a into master Dec 21, 2017
@rdeltour rdeltour deleted the fix/unstyle-headings-outline branch December 21, 2017 08:27
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