mirror of
https://github.com/RFnexus/micron-parser-js.git
synced 2025-12-22 08:27:15 +00:00
fix for tag only lines creating a newline <br>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Micron Playground</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script src="vendor/purify.min.js"></script>
|
||||
<script type="module" src="js/micron-parser.js"></script>
|
||||
<style>
|
||||
@font-face {
|
||||
|
||||
@@ -631,7 +631,7 @@ class MicronParser {
|
||||
output.push([this.stateToStyle(state), this.splitAtSpaces(part)]);
|
||||
}
|
||||
|
||||
return (output.length > 0) ? output : null;
|
||||
return output;
|
||||
}
|
||||
|
||||
parseField(line, startIndex, state) {
|
||||
|
||||
3
vendor/purify.min.js
vendored
Normal file
3
vendor/purify.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user