`;
                // Add attribute snippet (tags/attributes) below the title if available
                if (result.highlightedAttributeSnippet) {
                    // Replace 
 with a blank space to join the atributes on the same single line
                    const snippet = (result.highlightedAttributeSnippet as string).replace(/
/g, " ");
                    itemHtml += `
${snippet}
`;
                }
                // Add content snippet below the attributes if available
                if (result.highlightedContentSnippet) {
                    itemHtml += `
${result.highlightedContentSnippet}
`;
                }
                itemHtml += `