Skip to content

[wip] Add test info for softbreak#297

Open
chriseidhof wants to merge 1 commit intocommonmark:masterfrom
chriseidhof:sourcepos-tests
Open

[wip] Add test info for softbreak#297
chriseidhof wants to merge 1 commit intocommonmark:masterfrom
chriseidhof:sourcepos-tests

Conversation

@chriseidhof
Copy link
Contributor

This test actually passes. I would have expected it to have a different source range for the strong and text nodes, as per #296.

@honghaoz
Copy link

I believe this worth a test case as well.

  This is
    **strong**

Notice the leading spaces in the 1st line.

In addition,

1. This is
  **Strong**
1. This is
    **Strong**
1.   This is
    **Strong**

(Notice leading spaces in the 2nd line, seems it's related to the padding (3 spaces) of the parent list block)
These are some test cases I found useful to add.

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.

2 participants