Skip to content

Conversation

lowlighter
Copy link
Owner

While taking a look at #96, noticed that doc and clone method referenced #instruction but it is actual defined as plural #instructions in the code

libs/xml/parse.ts

Lines 172 to 176 in 2969d11

// XML processing instruction
case Token.XMLInstruction: {
const [name, ...raw] = value.split(" ")
const instruction = Object.assign(xml_node(name, { parent: xml }), xml_attributes(raw.join(" ")))
xml["#instructions"] ??= {}

@lowlighter lowlighter merged commit 3e3faaf into main May 30, 2025
76 checks passed
@lowlighter lowlighter deleted the fix-missing-s-instruction branch May 30, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant