lib/isodoc/ogc/html/scripts.html
<script>
const activeBtns = document.querySelectorAll('.collapsible.active')
// check if there are any active buttons, and open the content for each of them as default
if (activeBtns.length) {
activeBtns.forEach(btn => {
const content = btn.nextElementSibling
content.style.maxHeight = content.scrollHeight + 'px'
})
}
</script>