Skip to content

Fix to address #3263 for "in" usage#3318

Open
thekevinhunt wants to merge 1 commit intopugjs:masterfrom
thekevinhunt:patch-1
Open

Fix to address #3263 for "in" usage#3318
thekevinhunt wants to merge 1 commit intopugjs:masterfrom
thekevinhunt:patch-1

Conversation

@thekevinhunt
Copy link

I was still hitting issue #3263 when using "in" instead of "of" (which caused other odd problems). The regex was looking for * (0+) spaces instead of + (at least one) space. Using + instead prevents the regex from catching "in ofxxxxx".

I was still hitting issue pugjs#3263 when using "in" instead of "of" (which caused other odd problems).  The regex was looking for * (0+) spaces instead of + (at least one) space.  Using + instead prevents the regex from catching "in ofxxxxx".
@rollingversions
Copy link

rollingversions bot commented Mar 3, 2021

pug (3.0.2 → 3.0.3)

Bug Fixes

  • Fix to allow variables beginning with "of" when for/each in is used.

Packages With No Changes

The following packages have no user facing changes, so won't be released:

  • pug-attrs
  • pug-code-gen
  • pug-error
  • pug-filters
  • pug-lexer
  • pug-linker
  • pug-load
  • pug-parser
  • pug-runtime
  • pug-strip-comments
  • pug-walk

Edit changelogs

@Delagen
Copy link

Delagen commented Jul 5, 2021

@ForbesLindesay Please see it MR

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

Successfully merging this pull request may close these issues.

2 participants