Skip to content

ldh-AddXHTMLBlock: plain semantic XHTML, not Bootstrap classes; release 2.0.6 - #76

Merged
namedgraph merged 1 commit into
mainfrom
docs/xhtml-block-no-bootstrap
Dec 2, 2026
Merged

namedgraph merged 1 commit into
mainfrom
docs/xhtml-block-no-bootstrap

Conversation

@namedgraph

@namedgraph namedgraph commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Why

ldh-AddXHTMLBlock's description told agents:

The XHTML can use CSS classes for inline elements from Bootstrap 2.3.2, but no inline CSS styles.

LinkedDataHub 6 no longer has Bootstrap. Its own design system styles an XHTML block's content by element (ldh.css: div[typeof=…#XHTML] .main table, … img, with the comment "keyed off the element, because this content carries no class"). A Bootstrap class therefore does nothing, and an agent following the description writes markup that silently renders wrong. This came up in LinkedDataHub-Bots, where .unstyled and .invisible on arXiv sections had no effect (AtomGraph/LinkedDataHub-Bots#3).

What

  • The operation's description says to write plain semantic XHTML (headings, paragraphs, lists, tables, figures, images, links) without presentational classes or inline CSS. It adds that a heading with an id gets a ¶ link to its fragment, as default.xsl's ldh:HeadingAnchor renders it, and that images scale to the column.
  • The planner's prompts/system.md says the same in its ldh-AddXHTMLBlock section.
  • CHANGELOG.md has the change under 2.0.6.
  • A Release 2.0.6 commit bumps CHANGELOG.md, pyproject.toml, server.json and uv.lock.

Only the wording changes; the operation's behavior is the same.

After merge

Push the v2.0.6 tag on main. release.yml then publishes to PyPI, creates the GitHub release, and lists the version in the MCP Registry.

Tests

The full suite passes: 1122 passed, 7 skipped.

🤖 Generated with Claude Code

…lasses

Its description told agents to use CSS classes from Bootstrap 2.3.2, which LinkedDataHub 6 no
longer has: its own design system styles a block's content by element (ldh.css, "this content
carries no class"), so a presentational class does nothing. The description and the planner's
system.md say to write plain semantic XHTML without inline CSS, and that a heading with an id
gets a pilcrow linking to its fragment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@namedgraph
namedgraph merged commit b5e8ceb into main Dec 2, 2026
12 checks passed
@namedgraph
namedgraph deleted the docs/xhtml-block-no-bootstrap branch December 2, 2026 11:54
@namedgraph namedgraph changed the title ldh-AddXHTMLBlock: plain semantic XHTML, not Bootstrap classes ldh-AddXHTMLBlock: plain semantic XHTML, not Bootstrap classes; release 2.0.6 Dec 2, 2026
@namedgraph namedgraph mentioned this pull request Dec 2, 2026
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