Skip to content

Auto-detect text direction in generated HTML of "long messages" by getMsgHtml() #8223

@adbenitez

Description

@adbenitez

the HTML generated by getMsgHtml doesn't take into account Persian and other RTL languages

while I could patch this in the Android client modifying the HTML to inject dir="auto" in the body tag and confirm this solves the problem, the problem affects all other platforms, so it is better if core directly generates proper html for the "too long messages" that get truncated

I guess this will also be solved if the UI+core move away from truncating messages and converting them to HTML but in the meantime this fix should be very simple

this issue was brought up by @alr86 at deltachat/deltachat-android#4419

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions