Better code readability
authorTomas Mudrunka <tomas@mudrunka.cz>
Mon, 4 Apr 2022 09:09:11 +0000 (11:09 +0200)
committerTomas Mudrunka <tomas@mudrunka.cz>
Mon, 4 Apr 2022 09:09:11 +0000 (11:09 +0200)
tools/din_rail_module_label_generator.html

index 54c26210df7b0e9cf8d436f6a001cf7fe83334fd..84c2030e9a73c3f9ae0ffd0262223be143c46931 100644 (file)
@@ -112,9 +112,13 @@ Use CTRL+S to save whole tool including your changes to your computer. CTRL+P to
 <td colspan=3>&#x1f4a1;<br />Světla Předsíň<br />Bezdrátové Relé</td>
 <td></td>
 </tr>
+
 </table>
 
+
+
 <table class="indexed">
+
 <tr>
 <td><small>Very long and tiny text that is really important to have on your breaker box!</small></td>
 <td>Warning!<small><small>Very long and tiny text that is really important to have on your breaker box!</small></small></td>
@@ -148,9 +152,13 @@ Use CTRL+S to save whole tool including your changes to your computer. CTRL+P to
 <td></td>
 <td></td>
 </tr>
+
 </table>
 
+
+
 <table class="indexed fancyindex">
+
 <tr>
 <td></td>
 <td></td>
@@ -171,7 +179,7 @@ Use CTRL+S to save whole tool including your changes to your computer. CTRL+P to
 </table>
 </div>
 
-<script>document.getElementById('labeltext').value=document.getElementById('labeltable').innerHTML.trim();</script>
+<script>document.getElementById('labeltext').value=document.getElementById('labeltable').innerHTML.replace(/<.?tbody>/g, "").trim();</script>
 
 </body>
 </html>
This page took 0.160383 seconds and 4 git commands to generate.