-
-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra new lines inserted in front of HTML inline code #423
Labels
Comments
jonnyandrew
added a commit
to element-hq/element-android
that referenced
this issue
Jan 26, 2023
15 tasks
jonnyandrew
added a commit
to element-hq/element-android
that referenced
this issue
Jan 30, 2023
Also: - Fixes #7975 - See noties/Markwon#423
jonnyandrew
added a commit
to element-hq/element-android
that referenced
this issue
Feb 28, 2023
Closes #8179 Caused by noties/Markwon#423
15 tasks
jonnyandrew
added a commit
to element-hq/element-android
that referenced
this issue
Feb 28, 2023
Closes #8179 Caused by noties/Markwon#423
jonnyandrew
added a commit
to element-hq/element-android
that referenced
this issue
Mar 6, 2023
* Extend workaround for extra new lines in timeline Closes #8179 Caused by noties/Markwon#423 * Refactor Co-authored-by: Yoan Pintas <[email protected]> --------- Co-authored-by: Yoan Pintas <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Markwon version: 4.6.2
Extra new lines are inserted in front of inline code while parsing HTML.
I have created a minimal reproduction of this bug here: jonnyandrew/markwon-repro.
Steps to reproduce
HtmlPlugin
.markwon.parse("<div>block</div>")
markwon.parse("Some <code>inline code</code>")
Expected
The rendered text does not have any extra new lines.
Actual
The rendered text has a new line immediately before the inline code.
Screenshot from the repro app
The text was updated successfully, but these errors were encountered: