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

Only replaces first instance of variable #3

Open
adamjw3 opened this issue Nov 20, 2017 · 3 comments
Open

Only replaces first instance of variable #3

adamjw3 opened this issue Nov 20, 2017 · 3 comments

Comments

@adamjw3
Copy link

adamjw3 commented Nov 20, 2017

Hi

Moving over from grunt to gulp and replacing grunt-bake with this task

i have the following partial

<partial src="accordion.html" identifier="first"></partial>

accordion.html is

<h2 class="c-accordion__heading heading js-accordion-heading" id="@@identifier-accordion-header-1" role="tab" aria-controls="@@identifier-accordion-panel-1" aria-selected="false" aria-expanded="false">Accordion header 1</h2>

output

<h2 class=" js-accordion-heading" id="first-accordion-header-1" role="tab" aria-controls="@@identifier-accordion-panel-1" aria-selected="false" aria-expanded="false">Accordion header 1</h2>

Does it not work on multiple instances of a variable?

@Meilan
Copy link

Meilan commented Mar 21, 2018

Have same issue. Would like to use same param in multiple places, but it only replaces the first variable.

@Jakob-Maudience
Copy link

Any update on that fix that @benrr101 wrote getting merged into master?

@yansusanto
Copy link

After 2 years, is this plugin is still being maintained?

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

4 participants