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

Preserve blanks and uses #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

kemitchell
Copy link
Member

This PR changes the package to return {use: "Term"} and {blank: "Blank", value: "Value"} when appropriate, rather than converting those content elements to strings.

This will allow renderers to style term uses and blanks, filled or unfilled.

It's a SemVer breaking change.

cc: @anseljh

@kemitchell kemitchell force-pushed the preserve-blanks-and-uses branch 2 times, most recently from 77ca79b to ed27b17 Compare September 2, 2015 23:07
Return `{ use: "Term" }` and `{ blank: "Blank", value: "Value" }`,
rather than convert those content elements to strings. This will allow
downstream renderers to style term uses and blanks.
All non-string content objects are now passed through as objects.
There's no longer need to check whether resolution created contiguous
strings in a content array.
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