Skip to content

Commit

Permalink
need to escape the '.global' because the dot behaves as a css class s…
Browse files Browse the repository at this point in the history
…elector if not
  • Loading branch information
srietkerk committed Apr 11, 2024
1 parent 3979157 commit 853eec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxtrunner/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ function renderGhost(options: ClientRenderOptions) {

function renderBlockConfig(options: ClientRenderOptions) {
function render(scope: "local" | "global") {
$(`code.lang-blockconfig.${scope}`).each((i, c) => {
$(`code.lang-blockconfig\\.${scope}`).each((i, c) => {
let $c = $(c);
if (options.snippetReplaceParent)
$c = $c.parent();
Expand Down

0 comments on commit 853eec8

Please sign in to comment.