Skip to content

Commit f244942

Browse files
committed
fix style replacing in panel div
1 parent 11ccd8e commit f244942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/markupParser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,10 @@ export function parseMarkup(sourceUri: vscode.Uri, sourceText: string) {
217217
}
218218
}
219219
});
220-
if (titleStyle.length >= 0) {
220+
if (titleStyle.length > 0) {
221221
titleStyle += `'`;
222222
}
223-
if (panelStyle.length >= 0) {
223+
if (panelStyle.length > 0) {
224224
panelStyle += `'`;
225225
}
226226
res = res.replace('$panelStyle', panelStyle);

0 commit comments

Comments
 (0)