diff --git a/jemdoc b/jemdoc index f0ff873..a6bd6f4 100755 --- a/jemdoc +++ b/jemdoc @@ -550,9 +550,9 @@ def np(f, withcount=False, eatblanks=True): # in both cases, ditch the trailing \n. if withcount: - return (s[:-1], c) + return (s, c) else: - return s[:-1] + return s def quote(s): return re.sub(r"""[\\*/+"'<>&$%\.~[\]-]""", r'\\\g<0>', s)