Skip to content

Commit 34101c8

Browse files
committed
cleanup
Signed-off-by: Ryan Bower <rbower@qti.qualcomm.com> Signed-off-by: Dustin Pham <dustinpham95@gmail.com>
1 parent 8d596d8 commit 34101c8

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

packages/frameworks/angular-core/src/highlight/highlight.directive.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ import {highlightWord} from "@qualcomm-ui/utils/highlight-word"
1111
standalone: true,
1212
// prevent prettier formatting from introducing whitespaces in the markup
1313
// prettier-ignore
14-
template: `@for (chunk of chunks(); track $index) {@if (chunk.match) {<mark>{{ chunk.text }}</mark>} @else {{{ chunk.text }}}}`,
14+
template: `
15+
@for (chunk of chunks(); track $index) {
16+
@if (chunk.match) {
17+
<mark>{{ chunk.text }}</mark>
18+
} @else {{{chunk.text}}}
19+
}
20+
`,
1521
})
1622
export class HighlightDirective {
1723
/**

0 commit comments

Comments
 (0)