Skip to content

Commit

Permalink
fixed bug in ctx:words-after
Browse files Browse the repository at this point in the history
  • Loading branch information
rbossy committed Jun 25, 2024
1 parent 1f91f6a commit 372de37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public static final String wordsAfter(EvaluationContext ctx, Element elt, String
return "";
}
Layer layer = sec.getLayer(layerName);
Layer words = layer.before(a.getStart());
Layer words = layer.after(a.getEnd());
if (words.isEmpty()) {
return "";
}
Expand Down

0 comments on commit 372de37

Please sign in to comment.