Skip to content

Conversation

@labkey-jeckels
Copy link
Contributor

Rationale

Markdown standards, such as they exist, generally expect that non-Markdown syntax will be passed through as-is to the rendered HTML.

Changes

  • Special rendering to pass-through comments without HTML encoding
  • Test coverage

public void testMdHeadingToHtml()
{
MarkdownService markdownService = MarkdownService.get();
MarkdownService markdownService = new MarkdownServiceImpl();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious... why this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lets the test run as a standalone unit test, not needing to be run inside the webapp.

@labkey-adam labkey-adam self-requested a review January 30, 2026 23:12
Copy link
Contributor

@labkey-adam labkey-adam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like WikiCspTest was failing with CSP errors on this branch (before my merge from develop). I didn't investigate. https://teamcity.labkey.org/buildConfiguration/LabKey_2511Release_Community_ModuleSuites_WikiSqlserver/3826615

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.

3 participants