mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-20 15:15: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:
+1
-1
@@ -72,7 +72,7 @@
|
||||
([V8 bug](https://issues.chromium.org/issues/521080746)).
|
||||
- **Breaking:** a hard break inside emphasis, strike, a link or a directive mark reads holding no
|
||||
marks, as Atlassian's schema requires, where every reader gave it the marks around it. A link
|
||||
whose text is only hard breaks reads as an empty link text does, as its destination linked, and
|
||||
whose text is only hard breaks reads as its destination linked, followed by those breaks, and
|
||||
`losslessMarkdownToAdf` refuses a directive mark wrapping only hard breaks as
|
||||
`unsupported-node-shape`. `adfToLosslessMarkdown` writes a hard break holding marks as
|
||||
`!adf:carry{json="…"}`, and both writers spell an emphasis or link across the hard breaks inside
|
||||
|
||||
Reference in New Issue
Block a user