Skip to content

Commit

Permalink
feat(SFINT-4413): Fix recent queries (#112)
Browse files Browse the repository at this point in the history
Also removed same error from TopQueries
Also deleted the ,github folder... my bad
  • Loading branch information
erocheleau authored Feb 23, 2022
1 parent 5914247 commit 3a3e59c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 38 deletions.
36 changes: 0 additions & 36 deletions ,github/workflows/publish.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/TopQueries/TopQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class TopQueries extends Component {
this.options = ComponentOptions.initComponentOptions(element, TopQueries, options);

const titleElem = document.createElement('h2');
titleElem.innerHTML = options.title;
titleElem.innerText = options.title;

this.listElem = document.createElement('ul');

Expand Down
2 changes: 1 addition & 1 deletion src/components/UserActions/QueryList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const DEFAULT_TRANSFORMATION = () => (query: string) => {

const link = document.createElement('a');
link.classList.add('coveo-link');
link.innerHTML = query;
link.innerText = query;

container.appendChild(icon);
container.appendChild(link);
Expand Down

0 comments on commit 3a3e59c

Please # to comment.