mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-19 14:45:44 +01:00
Keep the hard breaks a link text holds alone, after its destination, and move item 89 to 0.2.1
This commit is contained in:
@@ -240,8 +240,8 @@ Serves Goals 1, 4 and 5.
|
||||
canonical spelling, which round-trips byte-identically.
|
||||
- Seven CommonMark spellings parse without an error and build a document the reference
|
||||
implementation renders differently. Four because ADF holds no node for what it renders:
|
||||
- An empty link text, or one holding only hard breaks, reads as its destination, `[](/url)` as
|
||||
`/url` linked to `/url`, and `[]()` as nothing.
|
||||
- An empty link text reads as its destination, `[](/url)` as `/url` linked to `/url`, and `[]()`
|
||||
as nothing. A link text holding only hard breaks reads the same, followed by its hard breaks.
|
||||
- An image reads as an image only alone in its paragraph. Anywhere else — beside other text, in
|
||||
a heading or a table cell, or in the paragraph a task marker opens — it reads as its
|
||||
alt text linked to its URL: `See .` reads as
|
||||
|
||||
Reference in New Issue
Block a user