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 #851
React Native Render HTML: whitespace collapsing #851
Commits on Dec 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6db4d06 - Browse repository at this point
Copy the full SHA 6db4d06View commit details -
Refactor src/styles/StyleSheet, webViewStyles
preTagStyle, codeTagStyle and blockquoteTagStyle have been merged into tagStyles, since those styles are passed to custom renderers via "style" prop in the new v6 renderer API. It is more consistent with the recommended way to proceed with the new release of react-native-render-html.
Configuration menu - View commit details
-
Copy full SHA for b1c9e02 - Browse repository at this point
Copy the full SHA b1c9e02View commit details -
Move HTML rendering logic from ReportActionItemFragment to RenderHTML
A new RenderHTML component is available in src/components/RenderHTML.js. It lightens the aforementioned component, and help refine HTML logic. The new blockquoteRenderer has been dropped since it only inject styles to the renderer.
Configuration menu - View commit details
-
Copy full SHA for e0af400 - Browse repository at this point
Copy the full SHA e0af400View commit details -
Adapted InlineCodeBlock to the new API
The component has been simplified from 3 to 2 target variants, and has been rewritten to fit the new Renderer API.
Configuration menu - View commit details
-
Copy full SHA for cafeec6 - Browse repository at this point
Copy the full SHA cafeec6View commit details -
Refactor propTypes in AnchorForCommentsOnly component
Those types were duplicated!
Configuration menu - View commit details
-
Copy full SHA for 6fd467a - Browse repository at this point
Copy the full SHA 6fd467aView commit details -
Add __DEV__ global variable in webpack environment
This variable is provided by React Native JavaScript environment, and required by react-native-render-html. Reference: https://reactnative.dev/docs/javascript-environment
Configuration menu - View commit details
-
Copy full SHA for 0290473 - Browse repository at this point
Copy the full SHA 0290473View commit details -
Remove react-native-render-html from files transpiled by babel-loader
The new version of this library already provide transpiled sources (no JSX).
Configuration menu - View commit details
-
Copy full SHA for 7e8cfac - Browse repository at this point
Copy the full SHA 7e8cfacView commit details -
Configuration menu - View commit details
-
Copy full SHA for e624466 - Browse repository at this point
Copy the full SHA e624466View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e1f64b - Browse repository at this point
Copy the full SHA 1e1f64bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88bf063 - Browse repository at this point
Copy the full SHA 88bf063View commit details -
Rename propTypes to anchorForCommentsOnlyPropTypes in AnchorForCommen…
…tsOnly component
Configuration menu - View commit details
-
Copy full SHA for b130592 - Browse repository at this point
Copy the full SHA b130592View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eff1d1 - Browse repository at this point
Copy the full SHA 1eff1d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc7e33f - Browse repository at this point
Copy the full SHA fc7e33fView commit details