You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
charlespwd
changed the title
ConvertToInclude autocorrection breaks the code if snippet uses variables defined in Context
ConvertToInclude autocorrection breaks the code if snippet uses variables defined in parent context
Sep 14, 2021
The
ConvertIncludeToRender
autocorrector doesn't correct properly if the snippet assumes a variable was defined in its parent context.Example:
The autocorrector would flip that to this:
What it should do instead:
Proposed solution / thoughts
Note:
I feel like we should disable this autocorrection until this is fixed. Breaking a site on first autocorrect doesn't seem like the way to go.
The text was updated successfully, but these errors were encountered: