Skip to content

Commit

Permalink
Fix html info
Browse files Browse the repository at this point in the history
Fix html info for correct break line
  • Loading branch information
amsbr committed Apr 21, 2018
1 parent 1d10ffb commit 131f66b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion octoprint_eeprom_marlin/static/js/eeprom_marlin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ $(function() {

var match = self.firmwareCapRegEx.exec(line);
if (match !== null) {
self.FIRMWARE_INFO(self.firmware_info() + '\n<br>' + line.replace('Recv: Cap:', ''));
self.FIRMWARE_INFO('\n\n' + self.firmware_info() + '\n' + line.replace('Recv: Cap:', ''));
}
});
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ This plugin is designed to get, change and save the values in the EEPROM of your
<div id="eeprom_marlin_info" class="tab-pane active">
<fieldset>
<legend data-bind="visible: eepromDataStepsCount()">Firmware Info</legend>
<span data-bind="text: firmware_info()"></span>
<span style="white-space: pre-wrap;" data-bind="text: firmware_info()"></span>
</fieldset>
</div>
<div id="eeprom_marlin_steps" class="tab-pane">
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 131f66b

Please sign in to comment.