Repository navigation
ldh-AddXHTMLBlock: plain semantic XHTML, not Bootstrap classes; release 2.0.6 - #76
Merged
Merged
Conversation
…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>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
ldh-AddXHTMLBlock's description told agents: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.unstyledand.invisibleon arXiv sections had no effect (AtomGraph/LinkedDataHub-Bots#3).What
idgets a ¶ link to its fragment, asdefault.xsl'sldh:HeadingAnchorrenders it, and that images scale to the column.prompts/system.mdsays the same in itsldh-AddXHTMLBlocksection.CHANGELOG.mdhas the change under 2.0.6.CHANGELOG.md,pyproject.toml,server.jsonanduv.lock.Only the wording changes; the operation's behavior is the same.
After merge
Push the
v2.0.6tag onmain.release.ymlthen 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