Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Oct 11, 2024
1 parent 2bc88cb commit ba48444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/glow/src/glow.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export function parseRow(row, lang) {
}

function renderString(str) {
return encode(str).replace(/\$?\{([^\}]+)\}/g, function (_, content) {
return encode(str).replace(/\$?\{([^\}]+)\}/g, function(_, content) {
return elem('i', _.replace(content, elem('b', content)))
})
}
Expand Down Expand Up @@ -279,7 +279,7 @@ export function glow(str, opts = { prefix: true, mark: true }) {
html.push(opts.numbered ? elem('span', line) : line)
}

parseSyntax(lines, lang, opts.prefix).forEach(function (block) {
parseSyntax(lines, lang, opts.prefix).forEach(function(block) {
let { line, comment, wrap } = block

// EOL comment
Expand Down

0 comments on commit ba48444

Please sign in to comment.