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

React Native Render HTML: whitespace collapsing #850

Closed
wants to merge 7 commits into from

Conversation

jsamr
Copy link
Collaborator

@jsamr jsamr commented Nov 27, 2020

EDIT: Closed in favor of #851

@jsamr jsamr force-pushed the jsamr-whitespace-collapsing branch 2 times, most recently from af871bd to 762ca01 Compare November 28, 2020 12:06
@jsamr jsamr force-pushed the jsamr-whitespace-collapsing branch from 2400fff to 98a4b78 Compare November 28, 2020 16:21
preTagStyle and codeTagStyle have been merged into tagStyles, since those
styles are passed to custom renderers. It is more consistent with the
recommended way to proceed with this library.
A new RenderHTML component is available in src/components/RenderHTML.js.
It lightens the aforementioned component, and help refine HTML logic.
The component has been simplified from 3 to 2 target variants, and has
been rewritten to fit the new Renderer API.
This variable is provided by React Native JavaScript environment, and
required by react-native-render-html.
Reference: https://reactnative.dev/docs/javascript-environment
The new version of this library already provide transpiled sources (no
JSX).
@jsamr jsamr force-pushed the jsamr-whitespace-collapsing branch from 98a4b78 to f733018 Compare November 28, 2020 16:48
@jsamr jsamr closed this Nov 28, 2020
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