Skip to content

Commit

Permalink
Fix example snippet output
Browse files Browse the repository at this point in the history
Christopher Joel authored Oct 21, 2019
1 parent 0d7408a commit 19e67a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/documentation/components/example-snippet.ts
Original file line number Diff line number Diff line change
@@ -113,7 +113,7 @@ export class ExampleSnippet extends UpdatingElement {

let snippet = template.innerHTML;

snippet.replace('type="noexecute" ', '');
snippet = snippet.replace('type="noexecute" ', '');

if (!this.preserveWhitespace) {
snippet = snippet.trim();

0 comments on commit 19e67a8

Please sign in to comment.