Skip to content

Commit

Permalink
Merge PR #1002 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by simahawk
  • Loading branch information
OCA-git-bot committed Jul 4, 2024
2 parents 20ba506 + 8b7ed16 commit 9c71223
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base_wamas_ubl/lib/wamas/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

import pytz
from dateutil.parser import parse
from markupsafe import escape

from .const import (
DEFAULT_TIMEZONE,
Expand Down Expand Up @@ -407,7 +408,7 @@ def fw2dict(line, grammar, telegram_type):
dp = fdef["dp"]
val = float(b[:-dp] + "." + b[-dp:])
else:
val = b.rstrip()
val = escape(b.rstrip())
res[fname] = val
_logger.debug(pformat(res))
return res
Expand Down

0 comments on commit 9c71223

Please sign in to comment.