Different look for details-block

First, I’ve done one hello world thingy using Visual Basic about 20 years ago. And I’ve tuned some WordPress plugins using the try/error method, and once I managed to change every ownership in my VPS, starting from the root.

That great solution doesn’t follow [details … open] any more. Connected to that Details block doesn’t obey open I reckon.

Is the issue coming from this part:


cookedDetails.forEach((details) => {
            details.setAttribute("open", "");

Why that? Because it is similar to this from Discourse :joy:

expect(cooked_html).to match_html <<~HTML
      <details open="">
      <summary></summary>
        <p>bar</p>
      </details>

1 Like