Skip to content

Style text not contained in tag #6

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

Closed
smoooty opened this issue Oct 27, 2015 · 2 comments
Closed

Style text not contained in tag #6

smoooty opened this issue Oct 27, 2015 · 2 comments

Comments

@smoooty
Copy link

smoooty commented Oct 27, 2015

Is there a way to style text not contained in a tag? For instance, in the ReactNativeHackerNews example the beginning of the {comment.text} content is often not included in a tag. Is there a way to apply a style to all of the html content?

@jsdf
Copy link
Owner

jsdf commented Oct 27, 2015

How about wrapping it in a root tag before parsing it?

@smoooty
Copy link
Author

smoooty commented Oct 27, 2015

Perfect. Great idea! Thanks.

@smoooty smoooty closed this as completed Oct 27, 2015
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

No branches or pull requests

2 participants