From fc704280087c14433309f971f88734ca876a2791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Szor=C3=A1d?= Date: Wed, 22 Mar 2023 16:55:44 +0100 Subject: [PATCH] Allow whitespace in closing tags --- src/xml.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xml.tsx b/src/xml.tsx index 74da30fa8..cc334d72b 100644 --- a/src/xml.tsx +++ b/src/xml.tsx @@ -429,6 +429,7 @@ export function parse(source: string, middleware?: Middleware): JsxAST | null { ); } + allowSpaces(); if (source[i] !== '>') { error('Expected >'); }