nukes closing statements for rows and cells

They dont exist in Paperwork markdown and ommiting their existance should also make universal paperwork generation simpler
This commit is contained in:
Sharkmare
2023-03-31 12:25:26 +02:00
committed by GitHub
parent 6916040a4d
commit 32bd3c5ab3
+4
View File
@@ -373,7 +373,9 @@
t = replacetext(t, "\[grid\]", "<table>")
t = replacetext(t, "\[/grid\]", "</td></tr></table>")
t = replacetext(t, "\[row\]", "</td><tr>")
t = replacetext(t, "\[/row\]", "") //CHOMPEDIT: nuking closing statements for rows.
t = replacetext(t, "\[cell\]", "<td>")
t = replacetext(t, "\[/cell\]", "") //CHOMPEDIT: nuking closing statements for cells.
t = replacetext(t, "\[logo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/ntlogo.png>") //CHOMPEdit
t = replacetext(t, "\[sglogo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/sglogo.png>") //CHOMPEdit
@@ -389,6 +391,8 @@
t = replacetext(t, "\[/table\]", "")
t = replacetext(t, "\[row\]", "")
t = replacetext(t, "\[cell\]", "")
t = replacetext(t, "\[/cell\]", "") //CHOMPEDIT: nuking closing statements for cells.
t = replacetext(t, "\[/row\]", "") //CHOMPEDIT: nuking closing statements for rows.
t = replacetext(t, "\[logo\]", "")
t = replacetext(t, "\[sglogo\]", "")