# Accordion Bug

When using the **"Paste as Text"** feature to customize an accordion, the article editor may produce an HTML artifact in the source code that reads as ***open="open".*** See the snippet below for an example.

```markup
<details open="open">
<summary>Premise</summary>
<p>The premise of the show is, because it&rsquo;s the world according to Jeff Goldblum, it&rsquo;s me with all the information and experience that my life has entailed up til this point now plopping me I go the world of and exploration of one thing or another. It&rsquo;s not as if I do some extra homework/research/bone up on it so that I tend to know something about it and then tell you about it. No, it&rsquo;s not like that.</p>
<p>&mdash;&thinsp;Jeff Goldblum, host[3]</p>
</details>
```

As a result, your accordion(s) will be expanded upon page load. This may be a desirable effect&#x20;

![An example of the accordion bug where the content is expanded upon page load.](https://3834524275-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8L7pd9MFiA8_rutARh%2F-MUBgJ4qJa1R6q4laRlv%2F-MUBvysYO8300tUvTZe6%2FScreen%20Shot%202021-02-22%20at%2010.29.51%20PM.png?alt=media\&token=fa6c0e05-919a-4c4a-a9be-61704c51f2f4)

## Work-Around

Open the HTML source code and delete the ***open="open"*** bit of code.

![](https://3834524275-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8L7pd9MFiA8_rutARh%2F-MUBgJ4qJa1R6q4laRlv%2F-MUByxb0HSPq1hWkpZSd%2Fchrome-capture%20\(17\).gif?alt=media\&token=a0a5f2ec-b842-44e9-bab1-7fc5bd674f32)

Select "OK" to close the modal window and save your work.
