Unfortunately, you need to put a blank line before the {details=Summary}This text will be hidden{/details} content. See Here
Unfortunately, you need to put a blank line before the {details=Summary}This text will be hidden{/details} content. See Here