I did not clear the browser’s cache, now I did, I see a difference but it is not enough.
Lately I changed the option automatically expand the note from no to yes. Now I changed it back to no. The display of the text is as I expected, and when I click on the link to the Shared Note, the display of this on a new page is also good. Clicking on the symbol to expand the Shared Note changes the display of the text again.
So I think I have the solution for me by not automatically expand the notes.