Skip to content

Fixed the double line feed on HTML lists.#798

Open
mrlilly wants to merge 1 commit intojstanden:9.0.3from
mrlilly:fix-double-line-feed-on-html-lists
Open

Fixed the double line feed on HTML lists.#798
mrlilly wants to merge 1 commit intojstanden:9.0.3from
mrlilly:fix-double-line-feed-on-html-lists

Conversation

@mrlilly
Copy link
Copy Markdown

@mrlilly mrlilly commented Oct 12, 2018

When a markdown list is provided and HTML response is required:

  • List item 1
  • List Item 2
  • List Item 3
    Sends as "
    • List item 1
    • List item 2
    • List item 3
    ".
    Stores as "- List item 1\n\n- List item 2\n\n- List item 3\n\n\n".
    If storing as plain text, it will store as: "- List item 1\n- List item 2\n- List item 3".

This pull request removes the extra line feed from each list item so that the stored content is more consistent when using the raw content, such as with the API.

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