[Refactoring] Smart tags now work in the last line.