Skip to content

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

Open
thekevinhunt wants to merge 1 commit into
pugjs:masterfrom
thekevinhunt:patch-1
Open

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

Conversation

@thekevinhunt

Copy link
Copy Markdown

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

rollingversions Bot commented Mar 3, 2021

Copy link
Copy Markdown

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

delagen commented Jul 5, 2021

Copy link
Copy Markdown

@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