From 302296ee0394c598103080139a72472315257d5d Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sat, 29 Feb 2020 13:44:04 +0100 Subject: [PATCH] [core/output] Add custom "raw" data variable see #561 --- bumblebee/output.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bumblebee/output.py b/bumblebee/output.py index 39805d5..390e205 100644 --- a/bumblebee/output.py +++ b/bumblebee/output.py @@ -438,6 +438,7 @@ class WidgetDrawer(object): self._markup = "none" if not self._config else self._config.markup() self._full_text = widget.full_text() + raw = self._full_text padding = self._theme.padding(widget) @@ -464,6 +465,7 @@ class WidgetDrawer(object): "instance": widget.id, "name": module.id, "markup": self._markup, + "_raw": raw, }) return self._widgets