Skip to content

Update Equal Access engine - #3

Merged
mbusch3 merged 3 commits into
devfrom
list-update
Sep 18, 2026
Merged

mbusch3 merged 3 commits into
devfrom
list-update

Conversation

@ewainberg

Copy link
Copy Markdown

No description provided.

@ewainberg
ewainberg requested a review from mbusch3 September 2, 2026 19:42
@ewainberg ewainberg self-assigned this Sep 2, 2026
Copilot stopped work on behalf of ewainberg due to an error September 8, 2026 19:13
af63626 replaced the engine bundle with an upstream IBM build, which
dropped the customisations this server relies on and regressed list
detection for UDOIT:

  - reported the containing block instead of each list item
  - could not detect one-item-per-<p> lists (the shape the Canvas RCE
    produces when authors press Enter)
  - narrowed separators to [.)], losing "-" and ":"
  - capped roman numerals at xv
  - dropped the circle/filled-circle/square bullet glyphs

This restores the customised engine (extended bullets, [.)\-:]
separators, full roman numeral matching, and the first-of-sibling-run
check that enables per-<p> reporting).

Also fixes uppercase roman numerals, which never worked: LIST_ITEM_PATTERN
is composed from `.source` strings, which discards the ordered pattern's
`i` flag, so the lowercase-written roman branch could not match "II."/"III.".
The flag is now passed explicitly to the RegExp constructor.

Verified by rebuilding Dockerfile.ace and scanning: numbered, lettered
(both cases), roman (both cases, beyond xv), bullet glyphs, and the
"." ")" "-" ":" separators are all detected, in both <p>-per-item and
<br>-separated form. Proper <ol>/<ul>, prose containing numbers, and
single-item paragraphs remain clean.
@mbusch3
mbusch3 changed the base branch from main to dev September 18, 2026 13:29

@mbusch3 mbusch3 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'm not 100% sure how this update will affect existing builds, so I've created a dev branch and am merging this there. I'll test by editing my local docker-compose.nginx.yaml file to pull from dev and see if I get the new scanner build.

Co-authored-by: mbusch3 <16626644+mbusch3@users.noreply.github.com>

@mbusch3 mbusch3 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is a Copilot issue fix. I'm merging to test.

There was a problem with the build process where the github.ref_name sometimes returned an invalid format (if you look at the build logs, we got :3/main).

This attempts to create a new tag which is always valid.

@mbusch3
mbusch3 merged commit a987849 into dev Sep 18, 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.

3 participants