Commit d9f2474
committed
fix: remove special handling of align attribute in HTML paragraphs
- Treat align attribute like any other attribute
- Always wrap paragraphs with attributes in divs (including align-only)
- Remove validation logic for align values
- Update tests to reflect consistent wrapper behavior1 parent 3b33de2 commit d9f2474
2 files changed
+12
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
| 635 | + | |
641 | 636 | | |
642 | 637 | | |
643 | 638 | | |
644 | | - | |
645 | | - | |
646 | | - | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
647 | 642 | | |
648 | | - | |
649 | 643 | | |
650 | 644 | | |
651 | 645 | | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
| 646 | + | |
656 | 647 | | |
657 | 648 | | |
658 | 649 | | |
659 | 650 | | |
660 | 651 | | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
| 652 | + | |
| 653 | + | |
665 | 654 | | |
666 | 655 | | |
667 | 656 | | |
668 | | - | |
| 657 | + | |
669 | 658 | | |
670 | 659 | | |
671 | 660 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
0 commit comments