Skip to content

Commit

Permalink
Merge pull request #1201 from HubSpot/dont-alter-context-key
Browse files Browse the repository at this point in the history
Don't alter the current_path context key when getting the set tag for current path
  • Loading branch information
jasmith-hs authored Sep 9, 2024
2 parents f13f7ae + 6bf00e4 commit 12bc66c
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ public static String getSetTagForCurrentPath(JinjavaInterpreter interpreter) {
.getContext()
.getCurrentPathStack()
.peek()
.map(c -> {
interpreter
.getContext()
.replace(RelativePathResolver.CURRENT_PATH_CONTEXT_KEY, c);
return c;
})
.orElseGet(() ->
(String) interpreter
.getContext()
Expand Down

0 comments on commit 12bc66c

Please sign in to comment.