diff --git a/directanswercards/documentsearch-standard/component.js b/directanswercards/documentsearch-standard/component.js index 62d0282bf..64da042a4 100644 --- a/directanswercards/documentsearch-standard/component.js +++ b/directanswercards/documentsearch-standard/component.js @@ -17,6 +17,8 @@ class documentsearch_standardComponent extends BaseDirectAnswerCard['documentsea let snippetValue = ''; if (answer.fieldType === "rich_text" && snippet) { snippetValue = ANSWERS.formatRichText(snippet.value, 'snippet', linkTarget); + } else if (answer.fieldType == "html" && snippet) { + snippetValue = snippet.value; } else if (snippet) { snippetValue = Formatter.highlightField(snippet.value, snippet.matchedSubstrings); } diff --git a/package-lock.json b/package-lock.json index 809244d85..e26bcc762 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "answers-hitchhiker-theme", - "version": "1.31.0", + "version": "1.32.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "answers-hitchhiker-theme", - "version": "1.31.0", + "version": "1.32.0", "devDependencies": { "@axe-core/puppeteer": "^4.5.2", "@babel/core": "^7.9.6", diff --git a/package.json b/package.json index 530254e44..b25e0044b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "answers-hitchhiker-theme", - "version": "1.31.0", + "version": "1.32.0", "description": "A starter Search theme for hitchhikers", "keywords": [ "jambo", diff --git a/static/package-lock.json b/static/package-lock.json index 1f4e03463..873c25e6a 100644 --- a/static/package-lock.json +++ b/static/package-lock.json @@ -1,12 +1,12 @@ { "name": "answers-hitchhiker-theme", - "version": "1.31.0", + "version": "1.32.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "answers-hitchhiker-theme", - "version": "1.31.0", + "version": "1.32.0", "license": "BSD-3-Clause", "dependencies": { "@vimeo/player": "^2.15.3", diff --git a/static/package.json b/static/package.json index 0eac1eafd..9e4fcbf8d 100644 --- a/static/package.json +++ b/static/package.json @@ -1,6 +1,6 @@ { "name": "answers-hitchhiker-theme", - "version": "1.31.0", + "version": "1.32.0", "description": "Toolchain for use with the HH Theme", "main": "Gruntfile.js", "scripts": {