v0.1.0 (alpha) #1
|
|
@ -28,8 +28,7 @@ end
|
|||
-- :@dev: clean the text once it has been fetched from buffer
|
||||
M.clean_buf = function ( text )
|
||||
if not type(text) == "string" or text == nil then
|
||||
print("[DEBUG - clean_buf] Given input is not of type string.")
|
||||
return
|
||||
return ""
|
||||
end
|
||||
|
||||
return escape_chars( text )
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user