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 normalizeTokens overriding "plain" cascading types #10

Merged
merged 1 commit into from
Aug 29, 2018

Conversation

kitten
Copy link
Contributor

@kitten kitten commented Aug 29, 2018

Fix #9

Previously the assumption was made that nested "plain"
string tokens inside other typed tokens should still
only be of type "plain". Instead they should cascade
their styles.

So when the nested types array is: ["tag", "punctuation"],
and we encounter a plain string, the output type should be
the same types array.

Previously the assumption was made that nested "plain"
string tokens inside other typed tokens should still
*only* be of type "plain". Instead they should cascade
their styles.

So when the nested types array is: ["tag", "punctuation"],
and we encounter a plain string, the output type should be
the same types array.
@kitten kitten merged commit ba1d705 into master Aug 29, 2018
@kitten kitten deleted the fix/nested-plain-tokens branch August 29, 2018 17:43
@kitten
Copy link
Contributor Author

kitten commented Aug 29, 2018

Reviewed in person by @sofiapoh

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.

None yet

1 participant