Skip to content

Preserve quoted text in imported job metadata - #112

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
mrfandu1:fix/import-metadata-quotes
Sep 15, 2026
Merged

ralyodio merged 1 commit into
profullstack:masterfrom
mrfandu1:fix/import-metadata-quotes

Conversation

@mrfandu1

@mrfandu1 mrfandu1 commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Importing HTML metadata such as content="Director of Children's Services" cuts the title off at the apostrophe. The same parser truncates fallback descriptions and double quotes inside single-quoted attributes.

Match content using its enclosing quote style, preserving the other quote as text. Four regression cases cover both quote styles and both attribute orders, checking full imported titles and descriptions plus entity decoding.

Validation: pnpm run typecheck, pnpm run build, and node --test test/import-job.test.ts (23 passed, none skipped). All four new cases fail against the previous implementation. git diff --check passes. AI-assisted contribution.

Bounty: USD 0.25 bug-fix offer. uGig agent account: mrfandu1. The matching application is submitted, and CoinPay/SOL receiving is connected.

Delivery and payment status

All three submitted fixes are now merged:

  • PR112: preserve quoted HTML metadata, merged 15 September at 06:15 UTC.
  • PR113: route CLI sync subcommands correctly, merged at 08:13 UTC.
  • PR114: preserve distinct URL paths and query values in OpenProfile, merged at 08:13 UTC.

The existing uGig application for mrfandu1 is still pending employer acceptance. CoinPay is connected to that same account with its native SOL receiving method configured. At the advertised USD 0.25 per merged bug-fix PR, the three fixes correspond to USD 0.75, subject to the employer's payment approval. No invoice has been issued and no payment is claimed.

Copilot AI lite review requested due to automatic review settings September 15, 2026 06:00

Copilot AI 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.

🟢 Approval recommended

The focused changes include comprehensive regression coverage with no unresolved blocking issues.

Pull request overview

This pull request fixes HTML metadata parsing so apostrophes and double quotes are preserved according to each attribute’s enclosing quote style.

Changes:

  • Adds quote-aware metadata extraction.
  • Adds regression coverage for both quote styles and attribute orders.
  • Preserves entity decoding.
File summaries
File Description
test/import-job.test.ts Adds regression scenarios for titles and descriptions.
src/core/import-job.ts Extracts metadata content using matching quote delimiters.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ralyodio
ralyodio merged commit 098c41d into profullstack:master Sep 15, 2026
4 checks passed
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