« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util/html.js
AgeCommit message (Collapse)Author
2024-11-15html: disallow content for imaginary-sibling(quasar) nebula
That means it's a throw, instead of silently dropping the content, when you pass it through html.metatag('imaginary-sibling').
2024-11-15html: factor out contentful conditions in content setter(quasar) nebula
So not really factored out much at all, but eh.
2024-11-15html: fix bad content check in chunkwrap setter(quasar) nebula
2024-11-15html: metatag('imaginary-sibling')(quasar) nebula
2024-08-15html: treat html.isBlank() as null in type: 'string' slots(quasar) nebula
2024-06-18html: #stringifyContent: always resolve template items(quasar) nebula
This makes onlyIfSiblings on template content work properly. It should also enable templates which return strings directly to be treated as text for the purposes of chunkwrap, have own blockwrap processed, etc.
2024-06-18html: isBlank: handle onlyIfSIblings template content(quasar) nebula
2024-06-07html: don't show onlyIfSiblings items w/o siblings(quasar) nebula
Previous commits are A-OK for making html.isBlank() work properly with [html.onlyIfSiblings] tags - and consequently, parent tags with [html.onlyIfContent] - but if the parent *doesn't* have this attribute, it needs to take responsibility in its own toString / function.
2024-06-07html: onlyIfSiblings(quasar) nebula
2024-05-31html: fix chunkwrap generation error(quasar) nebula
See issue #484. Also see #code-quarantine: https://discord.com/channels/749042497610842152/854020929113423924/1246242946525691956
2024-05-01html: Attributes.has(attribute, pattern)(quasar) nebula
2024-05-01html: html.smooth()(quasar) nebula
2024-04-12html: SO WE BACK IF && THE MINE(quasar) nebula
2024-04-12html: pls(quasar) nebula
2024-04-12html: blessAttributes(quasar) nebula
2024-04-12html: validateSlotValueAgainstDescription: minor optimizations(quasar) nebula
2024-04-12html: Tag.content: clean up contentArray compute(quasar) nebula
2024-04-03html: handle chunkwrap chunks not split by whitespace(quasar) nebula
2024-04-03html: Attributes.with(quasar) nebula
2024-03-26html: smush, chunkwrap: always handle joiners manually(quasar) nebula
2024-03-26html: chunkwrap: always provide at least one chunk(quasar) nebula
2024-03-26html, css: chunkwrap implementation(quasar) nebula
2024-03-26html: chunkwrap interface stub(quasar) nebula
2024-03-26html: html.smush(), Tag.smush()(quasar) nebula
2024-03-26html: Tag.#getContentJoiner()(quasar) nebula
2024-03-16html: try more boring/typical recursion for isBlank internals(quasar) nebula
Generators don't necessarily make the moset sense for splitting an operation into just two steps, instead of one that might recurse in a more complex fashion.
2024-03-16html: experimentally optimize isBlank... with generators(quasar) nebula
2024-03-16html: redefine isBlank(quasar) nebula
2024-02-16sugar: move many functions into new #aggregate import(quasar) nebula
2024-02-16html: minor eslint fixes(quasar) nebula
2024-01-03html: trace line where tag is created(quasar) nebula
2024-01-03html: show symbol count when inspecting attributes(quasar) nebula
2024-01-03html: aggressively skip blank nice attributes when inspecting tag(quasar) nebula
2024-01-03validators: oneOf -> anyOf(quasar) nebula
2024-01-03html: simplify attributes validation and add() logic(quasar) nebula
2024-01-01html: fix mutable: false not actually receiving original attributes(quasar) nebula
2024-01-01html: add mutable option for html/attributes slot descriptions(quasar) nebula
2024-01-01html: new 'attributes' slot type(quasar) nebula
2024-01-01html: Attributes.clone(quasar) nebula
2024-01-01html: blankAttributes utility function(quasar) nebula
2024-01-01html: make isAttributes alias to isAttributesAdditionSingletValue(quasar) nebula
2024-01-01html: allow arrays in attribute addition values (recursively)(quasar) nebula
2024-01-01html: flatten attribute value arrays infinitely(quasar) nebula
2024-01-01html: inline html.tag()-specific isAttributes behavior(quasar) nebula
2023-12-30html: refactor attributes addition recursion logic(quasar) nebula
2023-12-30html: allow adding an Attributes object(quasar) nebula
2023-12-30html: tweak attribute validators, actually enable singlet validator(quasar) nebula
2023-12-30html: clean up #addHelper-related logic(quasar) nebula
2023-12-30html: support templates in attribute operations(quasar) nebula
2023-12-30data, html: attribute merging(quasar) nebula