Skip to content

[RNmobile] Multiline Pullquote using break instead of p tag #2967

@jhnstn

Description

@jhnstn

Describe the bug
On Android only, new lines with out trailing whitespace on Pullquotes use <br> to separate the lines when it should use a <p> tag

To Reproduce
Steps to reproduce the behavior:

  1. Add a new Pullquote block
  2. Start typing and make sure there are no trailing whitespace characters
  3. Press enter to create a new line
  4. Add a second line of text
  5. Switch to HTML view and note that the lines are split by a <br> tag
  6. Add a new Pullquite block
  7. Start typing and add trailing whitespace
  8. Press enter to create a new line
  9. Add a second line of text
  10. Switch to HTML view and note that the lines are split with <p> tags

Expected behavior
Multiple lines in a Pullquote without trailing whitespace should be split by <p> tags

Screenshots
2021-01-06 07 11 51

Smartphone (please complete the following information):

  • Device: Pixel 5
  • OS: Android 11
  • Version 16.4-rc-3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions