💾 Archived View for x-z.se › htmlite › spec.gemini captured on 2020-11-07 at 01:49:04. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
There are 3 types of elements:
No meta elements after the first block element. This includes an injected <p> element caused by text and inline elements before the first literal block element.
Text before the first block element are implied to be in a <p> element. This <p> element is injected.
Block elements stack only if they are closed. Otherwise, they will last until the next block element.
Inline elements before the first block element are implied to be in a <p> element. This <p> element is injected.
Inline elements last until they are closed or until the next block element.
<!DOCTYPE> and <!-- comments --> doesn't belong in any of the types and they are never printed.