Skip to content

Commit

Permalink
Version 1.32.0 (#1141)
Browse files Browse the repository at this point in the history
## v1.32.0

### Changes

- Support rendering of HTML for richTextV2 and markdown direct answers (#1138)
  • Loading branch information
cea2aj authored Jul 26, 2023
2 parents 556c499 + e1e7dab commit 7c3bb22
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions directanswercards/documentsearch-standard/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions static/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 7c3bb22

Please sign in to comment.