Skip to content

Conversation

@nikdmello
Copy link
Contributor

@nikdmello nikdmello commented Oct 2, 2025

Updates katex regex coverage for jQuery expressions with multiple dollar signs.

Ensures that when jQuery expressions like $.getJSON, $.ajax, $.get and $("#dialogDetalleZona").dialog(...) / $("#dialogDetallePDC").dialog(...) appear on the same line, the dollar signs are not incorrectly paired as opening and closing KaTeX delimiters.

Fixes #268378

@nikdmello nikdmello changed the title Add test for jQuery expressions in KaTeX matching Update katex regex for jQuery expressions in KaTeX matching Oct 3, 2025
@mjbvz mjbvz enabled auto-merge October 29, 2025 16:02
mjbvz
mjbvz previously approved these changes Oct 29, 2025
Copy link
Collaborator

@mjbvz mjbvz left a comment

Choose a reason for hiding this comment

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

Thanks!

@mjbvz
Copy link
Collaborator

mjbvz commented Oct 29, 2025

Seems like some of the katex tests are failing in the check. @nikdmello Can you please take a look

auto-merge was automatically disabled November 6, 2025 06:58

Head branch was pushed to by a user without write access

@nikdmello nikdmello force-pushed the fix/katex-jquery-expressions branch from 02fbdaf to c646e63 Compare November 6, 2025 16:19
@nikdmello
Copy link
Contributor Author

@mjbvz I've added the missing snapshot that was causing the tests to fail

@mjbvz mjbvz added this to the November 2025 milestone Nov 7, 2025
mjbvz
mjbvz previously approved these changes Nov 7, 2025
@mjbvz mjbvz enabled auto-merge November 7, 2025 22:23
auto-merge was automatically disabled November 7, 2025 22:51

Head branch was pushed to by a user without write access

@nikdmello
Copy link
Contributor Author

@mjbvz I've updated the snapshot to match the actual output

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.

ParseError: KaTeX parse error: Expected 'EOF', got '#'

4 participants