You are incorrectly nesting things, there is no support for your desired behavior short of doing this by hand in HTML.
This works fine:
<details dir="ltr">
<summary dir="ltr"><b>Example</b></summary>
<p dir="ltr">Hello!</p>
</details>
Example
Hello!