From 2702ddcaf11e7d918846ab2663e911f2e01a5781 Mon Sep 17 00:00:00 2001 From: finalion Date: Fri, 5 May 2017 20:41:50 +0300 Subject: [PATCH] fix a breakline bug --- wquery/service/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wquery/service/base.py b/wquery/service/base.py index bce1322..7e92152 100644 --- a/wquery/service/base.py +++ b/wquery/service/base.py @@ -402,9 +402,9 @@ def fld_whole(self): return try: result = self.builder[self.word] - result = result.strip() - .replace('\r\n', '
') - .replace('\r', '
') + result = result.strip()\ + .replace('\r\n', '
')\ + .replace('\r', '
')\ .replace('\n', '
') return QueryResult(result=result) except KeyError: