more micro optimization

This commit is contained in:
Michael Go
2024-10-30 13:54:01 -03:00
parent 9e0c5f4747
commit 48d6a03de6
+1 -1
View File
@@ -65,7 +65,7 @@ module Liquid
def next_text_token
start = @ss.pos
if @ss.skip_until(TAG_OR_VARIABLE_START).nil?
unless @ss.skip_until(TAG_OR_VARIABLE_START)
token = @ss.rest
@ss.terminate
return token