From 131f66be1da6a5742a6e72e75d51b107a0bc3e00 Mon Sep 17 00:00:00 2001 From: Anderson Silva Date: Sat, 21 Apr 2018 16:39:55 -0300 Subject: [PATCH] Fix html info Fix html info for correct break line --- octoprint_eeprom_marlin/static/js/eeprom_marlin.js | 2 +- octoprint_eeprom_marlin/templates/eeprom_marlin_settings.jinja2 | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/octoprint_eeprom_marlin/static/js/eeprom_marlin.js b/octoprint_eeprom_marlin/static/js/eeprom_marlin.js index b7d8a34..0aaba30 100755 --- a/octoprint_eeprom_marlin/static/js/eeprom_marlin.js +++ b/octoprint_eeprom_marlin/static/js/eeprom_marlin.js @@ -1271,7 +1271,7 @@ $(function() { var match = self.firmwareCapRegEx.exec(line); if (match !== null) { - self.FIRMWARE_INFO(self.firmware_info() + '\n
' + line.replace('Recv: Cap:', '')); + self.FIRMWARE_INFO('\n\n' + self.firmware_info() + '\n' + line.replace('Recv: Cap:', '')); } }); }; diff --git a/octoprint_eeprom_marlin/templates/eeprom_marlin_settings.jinja2 b/octoprint_eeprom_marlin/templates/eeprom_marlin_settings.jinja2 index b1cbf01..c097817 100755 --- a/octoprint_eeprom_marlin/templates/eeprom_marlin_settings.jinja2 +++ b/octoprint_eeprom_marlin/templates/eeprom_marlin_settings.jinja2 @@ -52,7 +52,7 @@ This plugin is designed to get, change and save the values in the EEPROM of your
Firmware Info - +
diff --git a/setup.py b/setup.py index 71524b5..3a5ebd5 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ plugin_name = "OctoPrint-EEprom-Marlin" # The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module -plugin_version = "1.2" +plugin_version = "1.2.1" # The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin # module