« 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
2023-12-30data, html: attribute merging(quasar) nebula
2023-12-30html: implement isHTML with oneOf(quasar) nebula
2023-12-30html: make isHTML a proper (albeit hard-coded) validator(quasar) nebula
2023-12-30html: make isTag and isTemplate proper validators(quasar) nebula
2023-12-30html: use direct instanceof checks instead of isTag, isTemplate(quasar) nebula
2023-12-30html: don't place blockwrap at start of content(quasar) nebula
2023-12-30html: metatag('blockwrap')(quasar) nebula
2023-12-30html: Tag.contentOnly(quasar) nebula
2023-12-30html: fix certain cases of tag inspect spacing(quasar) nebula
2023-12-30html: prettify inspection with colors(quasar) nebula
2023-12-30html: don't inspect child in #stringifyContent trace layer(quasar) nebula
2023-12-30html: stack trace layer for Template content compute(quasar) nebula
2023-12-30html: stringify some attributes when inspecting tag(quasar) nebula
2023-12-30html: show html layout in stringification error trace(quasar) nebula
2023-12-30html: show tag child tree in util.inspect(quasar) nebula
2023-12-30html: refactor #stringifyContent(quasar) nebula
2023-12-30html: Attributes.has(quasar) nebula
2023-12-30html: Attributes.blank(quasar) nebula
2023-12-30html: refactor attributes toString logic(quasar) nebula
2023-11-09Merge branch 'preview' into listing-tweaks(quasar) nebula
2023-09-28data, util: use typeAppearance in more places(quasar) nebula
2023-09-11Merge branch 'preview' into track-data-cleanup(quasar) nebula
2023-09-11data, html, infra: supporting changes for sanitizing content(quasar) nebula
2023-09-08fix miscellaneous eslint errors(quasar) nebula
2023-08-20html: expand resolve to take "normalize" option(quasar) nebula
2023-08-19clean up imports & miscellaneous metastructures across codebase(quasar) nebula
2023-08-16html: Attributes: expose attributes in inspect.custom(quasar) nebula
2023-08-16html: Attributes: push() util(quasar) nebula
2023-08-16html: move parseAttributes from replacer into html lib(quasar) nebula
It also always returns an html.Attributes object, instead of a key/value mapping (which would be provided to html.attributes).
2023-08-16html: tags: allow passing attributes to tags()(quasar) nebula
This is to control e.g. joinChildren.
2023-08-15html: expose Attributes class via html.attributes()(quasar) nebula
2023-08-02infra: html: make deep Template resolving opt-in via utility(quasar) nebula
Just always resolving was causing some bugs.
2023-08-02infra: html: make deeper layers of Template content translucent(quasar) nebula
2023-08-02html: Tag.clone, Template.clone: clone own constructors(quasar) nebula
2023-07-14Merge branch 'url-special-chars' into data-steps(quasar) nebula
2023-07-14handle special characters in URLs more carefully(quasar) nebula
2023-06-12html: inspect.custom() annotations for html classes(quasar) nebula
2023-06-12html: new Stationery class for instantiating Templates(quasar) nebula
2023-06-12html: move slot validation into own function(quasar) nebula
2023-06-03html: accept false (ala cond && tag) in isHTML(quasar) nebula
2023-04-15html: clone tags & templates passed in via slots(quasar) nebula
I'm not 100% sure the right behavior here in the long run (whether we should be doing a deep clone or not), so for now I haven't added any specific tests. Snapshot tests covering uses of templates which depend on cloning (i.e. parents which reuse a given template) will do better to make sure everything keeps working like it should.
2023-04-15html, test: default slots only for null, not falsey values(quasar) nebula
2023-04-09test: html.template slot value errors(quasar) nebula
2023-04-09test: html.template & Template descriptor errors(quasar) nebula
2023-04-08html: drastically simplify template/slot system(quasar) nebula
2023-04-05html: tags(), isBlank()(quasar) nebula
2023-04-05html: standard blank() function(quasar) nebula
For now this just returns an empty array, but if we need to make changes later, it won't require editing all instances of blank content!
2023-04-04html: better Slot error traces(quasar) nebula
There's a bad joke to be made about "mutation" versus "mutilation".
2023-03-29html: pass null/undefined through in slot values(quasar) nebula
2023-03-23data steps: html fixes + pass through content when no tagName(quasar) nebula