You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After swiftlang/swift-docc#633, swift-docc will emit LineBreak from swift-markdown into "\n". But swift-docc-render still does not treat the new line correctly.
Checklist
If possible, I've reproduced the issue using the main branch of this package.
I can help look into this. I'm thinking we would probably just want to map the inline text nodes with newline characters into <br> HTML elements.
I'll need to play with the DocC PR to see if we can rely on the newline always being in its own individual text node or if it could possibly be interspersed with other text.
Description
See full issue here swiftlang/swift-docc#477
After swiftlang/swift-docc#633, swift-docc will emit LineBreak from swift-markdown into "\n". But swift-docc-render still does not treat the new line correctly.
Checklist
main
branch of this package.Expected Behavior
Render text in 2 lines
Actual behavior
Render text in 1 line
Steps To Reproduce
Swift-DocC-Render Version Information
No response
The text was updated successfully, but these errors were encountered: