summaryrefslogtreecommitdiff
path: root/src/compiler/parse/state/fragment.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/parse/state/fragment.ts')
-rw-r--r--src/compiler/parse/state/fragment.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/compiler/parse/state/fragment.ts b/src/compiler/parse/state/fragment.ts
index 27c514741..a62748ae0 100644
--- a/src/compiler/parse/state/fragment.ts
+++ b/src/compiler/parse/state/fragment.ts
@@ -4,13 +4,13 @@ import text from './text.js';
import { Parser } from '../index.js';
export default function fragment(parser: Parser) {
- if (parser.match('<')) {
- return tag;
- }
+ if (parser.match('<')) {
+ return tag;
+ }
- if (parser.match('{')) {
- return mustache;
- }
+ if (parser.match('{')) {
+ return mustache;
+ }
- return text;
+ return text;
}