Commit d2ff8c7
committed
engine_spx2html: use <div class="tdux-p"> instead of <p>
This might seem bonkers, but using the <p> tag to group paragraphs
actually introduces some real problems. You can't put things like
<ul> or <div> inside <p> tags -- they automatically close them. That's
not compatible with TeX's model of how paragraphs work, since they
might contain things like math displays or lists. As the HTML spec
emphasizes, the <p> tag does not carry special semantics, so it's
OK not to use it. In fact, the spec recommends using <div> tags if
you do want to demarcate semantic paragraphs.1 parent ce1e76e commit d2ff8c7
2 files changed
Lines changed: 20 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
847 | | - | |
| 847 | + | |
848 | 848 | | |
849 | 849 | | |
850 | | - | |
851 | | - | |
852 | 850 | | |
853 | 851 | | |
854 | 852 | | |
| |||
981 | 979 | | |
982 | 980 | | |
983 | 981 | | |
984 | | - | |
| 982 | + | |
985 | 983 | | |
986 | | - | |
| 984 | + | |
987 | 985 | | |
988 | | - | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
989 | 996 | | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | | - | |
| 997 | + | |
| 998 | + | |
994 | 999 | | |
995 | 1000 | | |
996 | | - | |
| 1001 | + | |
997 | 1002 | | |
998 | | - | |
| 1003 | + | |
999 | 1004 | | |
1000 | | - | |
| 1005 | + | |
1001 | 1006 | | |
1002 | 1007 | | |
1003 | 1008 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14791 | 14791 | | |
14792 | 14792 | | |
14793 | 14793 | | |
14794 | | - | |
| 14794 | + | |
14795 | 14795 | | |
14796 | 14796 | | |
14797 | 14797 | | |
| |||
14857 | 14857 | | |
14858 | 14858 | | |
14859 | 14859 | | |
14860 | | - | |
| 14860 | + | |
14861 | 14861 | | |
14862 | 14862 | | |
14863 | 14863 | | |
| |||
0 commit comments