| I'm doing some reworking of my static site generator, and I realized I have different opinions about the <p> html tag than pg does. Basically, the closing </p> tag can be sometimes left out (see "tag omission" on https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p). But Anarki always does (https://github.com/arclanguage/anarki/blob/master/lib/html.arc#L275). I'd like the behavior better if, when given a body (e.g., (para "hi there") ), it output a closing tag (<p>hi there</p>), and when not given a body ( (para) ), it always self-closed the tag (<p />). Any objections to this? I know I'm going to have to rework some parts of html.arc to allow for self-closed tags (<p />), but it at least is something I'd like. |