tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

HIR: pug names take ':' and '.', as an HTML literal's (issue #300)

htmx 4 puts its modifiers after a colon (hx-target:inherited,
hx-status:422) and Alpine dots them (x-on:click.prevent): an HTML
literal's name characters are letters, digits, '-', '_', ':' and '.',
but the compiled pug port kept the runtime parser's narrower set, so
those attributes could not be written in pug.

Attribute names now use the literal's set exactly (inside the parens a
dot is no shorthand); tag names add ':' (svg:rect, xml:lang) — '.'
stays the class shorthand there. Class/id shorthand names are
unchanged.

tests/run/pug.lse pins the three shapes.

olivier · il y a 1 mois · bc82e36f40d5041bf59a2b7fe43c392cfeb5fdaa

Parents f1a980e

2 fichiers modifiés, 31 ajouts, 7 suppressions