-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Is the problem with Element Android the explicit newline, or is it the fact that there's a Any HTML rendering should collapse white space, so the newline shouldn't show up as an empty line; but if it's not expecting messages to be marked up as paragraphs then it absolutely might have a top margin/padding for those, even if it's the start of the message (which it could differentiate from subsequent paragraphs in CSS easily enough using parent selectors or :nth-child). Either way, it seems to me that Element Android shouldn't render it like that. I agree it would be nicer if the explicit newline wasn't in the message. |
Beta Was this translation helpful? Give feedback.
Is the problem with Element Android the explicit newline, or is it the fact that there's a
<p>
tag?Any HTML rendering should collapse white space, so the newline shouldn't show up as an empty line; but if it's not expecting messages to be marked up as paragraphs then it absolutely might have a top margin/padding for those, even if it's the start of the message (which it could differentiate from subsequent paragraphs in CSS easily enough using parent selectors or :nth-child).
Either way, it seems to me that Element Android shouldn't render it like that.
I agree it would be nicer if the explicit newline wasn't in the message.