Fix #5292: post edit tag_string - unquoted metatag value trailing escapes aren't parsed correctly when last term
This commit is contained in:
@@ -33,7 +33,7 @@ class PostEdit
|
||||
@post = post
|
||||
@current_tag_names = current_tag_string.to_s.split
|
||||
@old_tag_names = old_tag_string.to_s.split
|
||||
@new_tag_string = new_tag_string.to_s.gsub(/[[:space:]]/, " ").strip
|
||||
@new_tag_string = new_tag_string.to_s.gsub(/[[:space:]]/, " ")
|
||||
@parser = StringParser.new(@new_tag_string)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user