-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Unusual paragraph and span in a figcaption #19254
Comments
HI @fueko |
Hi @kushalsng, I'd like to address this issue, but not able to find where it comes from. Could you please direct me to the file where this code is injected? |
Hey there, Have you worked on it? It seems the issue is still persisting. |
@daniellockyer Hello, I would like to upvote this bug. Or at least, confirm it's a bug or intented caption format? |
@fueko do you see |
Hi @kevinansfield, I must admit that I don't follow this closely, but checking quickly, I see the |
Issue Summary
In the case of adding a
figcaption
to a Code card, a paragraph with the attributedir='ltr'
is introduced. This unusual paragraph, occurring only in this case, disrupts the theme formatting.Additionally, a
<span>
element with the stylewhite-space: pre-wrap;
is included — this also appears to be undesirable. The span element is added to every figcaption, not just those within the code element.Steps to Reproduce
Add a Code card with a figcaption, then check the code.
Ghost Version
5.75.1
Node.js Version
18.12.1
How did you install Ghost?
localhost
Database type
SQLite3
Browser & OS version
All
Relevant log / error output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: