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 #851

Merged
merged 13 commits into from Dec 2, 2020

Commits on Dec 2, 2020

  1. Configuration menu
    Copy the full SHA
    6db4d06 View commit details
    Browse the repository at this point in the history
  2. 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.
    jsamr committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    b1c9e02 View commit details
    Browse the repository at this point in the history
  3. 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.
    jsamr committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    e0af400 View commit details
    Browse the repository at this point in the history
  4. 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.
    jsamr committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    cafeec6 View commit details
    Browse the repository at this point in the history
  5. Refactor propTypes in AnchorForCommentsOnly component

    Those types were duplicated!
    jsamr committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    6fd467a View commit details
    Browse the repository at this point in the history
  6. 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
    jsamr committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    0290473 View commit details
    Browse the repository at this point in the history
  7. Remove react-native-render-html from files transpiled by babel-loader

    The new version of this library already provide transpiled sources (no
    JSX).
    jsamr committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    7e8cfac View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e624466 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1e1f64b View commit details
    Browse the repository at this point in the history
  10. Add .vscode to gitignore

    jsamr committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    88bf063 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b130592 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1eff1d1 View commit details
    Browse the repository at this point in the history
  13. Comply with eslint rules

    jsamr committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    fc7e33f View commit details
    Browse the repository at this point in the history