Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive snippets expansion missing + preceding syntax ignored #532

Open
Rz-Rz opened this issue Dec 3, 2021 · 0 comments
Open

Recursive snippets expansion missing + preceding syntax ignored #532

Rz-Rz opened this issue Dec 3, 2021 · 0 comments

Comments

@Rz-Rz
Copy link

Rz-Rz commented Dec 3, 2021

In this snippets folders there are two snippets, password and checkout that are incorporated in another snippets btformbox. Only the first snippets in btformbox is expanded, the second dynamic snippet is ignored, and the preceding syntax is ignored.

{ html: { snippets: { signup: p>a{Sign Up}, navbar_bt5: .container>nav.navbar.navbar-expand-lg.navbar-light>a.navbar-brand{Logo or Text}+button.navbar-toggler[type='button' data-bs-toggle='collapse' data-bs- target='#navbarSupportedContent' aria-controls='navbarSupportedContent' aria-expanded='false' aria-label='Toggle navigation']>span.navbar-toggler-icon^div.collapse.navbar- collapse#navbarSupportedContent>ul.navbar-nav>li*3>a.nav-link{Text}, !bt: +html[lang=${lang}]>(head>meta[charset=${charset}]+meta:vp+link[href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css' rel='stylesheet' integrity='sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3' crossorigin='anonymous']+title{${1:Document}})+body>script[src='https://cdn.jsdelivr.net/npm/ [email protected]/dist/js/bootstrap.bundle.min.js' integrity='sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p'], checkout: (div.mb-3.form-check>input[type='checkbox' class='form-check-input' id='exampleCheck1']+label[class='form-check-label' for='exampleCheck1']{Check me out!}), password: (.mb-3>label.form-label[for='exampleInputPassword1']{Password}+input[type='password' class='form-control' id='exampleInputPassword1']), btformbox: .form-body>.form-content>.form-items>form>(div.mb-3>label.form-label[for='exampleInputEmail1']{Email address}+input.form-control#exampleInputEmail1[type='email' aria- describedby='emailHelp']+div.form-text#emailHelp{We'll never share your email with anyone else.})+password+checkout } } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant