Fix PreserveBlockStyleOnInsertRule

pull/13/head
singerdmx 4 years ago
parent 0d203b3fd0
commit c9139678da
  1. 2
      lib/models/rules/insert.dart

@ -75,7 +75,7 @@ class PreserveBlockStyleOnInsertRule extends InsertRule {
Style.fromJson(nextNewLine.item1?.attributes ?? <String, dynamic>{});
Attribute attribute = lineStyle.getBlockExceptHeader();
if (attribute != null) {
if (attribute == null) {
return null;
}

Loading…
Cancel
Save