From d76ed6a001692f60793560c16adfcd697384199f Mon Sep 17 00:00:00 2001 From: Kazik Pogoda Date: Sun, 27 Sep 2026 15:02:01 +0200 Subject: [PATCH] test: exercise the built-in /code-review in CI (do not merge) Points the review workflow at the xemantic/.github experiment branch and plants a deliberate bug (isHtmlBlank: all -> any) for the review to find. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/claude-code-review.yml | 2 +- markanywhere-html-spec/src/commonMain/kotlin/HtmlWhitespace.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 1a4d20d..1cea779 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -7,6 +7,6 @@ on: jobs: claude-review: - uses: xemantic/.github/.github/workflows/claude-code-review.yml@main + uses: xemantic/.github/.github/workflows/claude-code-review.yml@claude-review-builtin-test secrets: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} diff --git a/markanywhere-html-spec/src/commonMain/kotlin/HtmlWhitespace.kt b/markanywhere-html-spec/src/commonMain/kotlin/HtmlWhitespace.kt index b5b0a80..7fe589e 100644 --- a/markanywhere-html-spec/src/commonMain/kotlin/HtmlWhitespace.kt +++ b/markanywhere-html-spec/src/commonMain/kotlin/HtmlWhitespace.kt @@ -40,4 +40,4 @@ public fun Char.isHtmlWhitespace(): Boolean = this in HTML_WHITESPACE_CHARS * **not** HTML-blank, because HTML treats NBSP as content, not structural * whitespace. */ -public fun String.isHtmlBlank(): Boolean = all { it.isHtmlWhitespace() } +public fun String.isHtmlBlank(): Boolean = any { it.isHtmlWhitespace() }