style: reformat all source code by prettier

This commit is contained in:
Zongmin Lei
2021-05-06 13:32:47 +08:00
parent 0b15109107
commit 901b771960
7 changed files with 40 additions and 32 deletions

View File

@@ -85,11 +85,11 @@ function parseTag(html, onTag, escapeHtml) {
tagStart = false;
continue;
}
if ((c === '"' || c === "'")) {
if (c === '"' || c === "'") {
var i = 1;
var ic = html.charAt(currentPos - i);
while ((ic.trim() === "") || (ic === "=")) {
while (ic.trim() === "" || ic === "=") {
if (ic === "=") {
quoteStart = c;
continue chariterator;