Skip to content

Preserve HTML line breaks with attributes in imported job descriptions - #140

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
RowletCC:fix/preserve-attributed-line-breaks
Sep 21, 2026
Merged

ralyodio merged 1 commit into
profullstack:masterfrom
RowletCC:fix/preserve-attributed-line-breaks

Conversation

@RowletCC

Copy link
Copy Markdown
Contributor

Importing a job description containing Build data pipelines<br class="editor-break">Maintain ingestion jobs merges the two lines. A valid break with a quoted > in an attribute also leaves attribute text in the imported description. This affects both JSON-LD descriptions and page-text imports.

Recognize attributes on br elements while respecting quoted attribute values and the tag-name boundary. Existing <br>, <br/>, and <br /> forms retain their behavior; custom tags beginning with br are not treated as line breaks.

Validation: two regression cases fail against upstream 282feb1, while the plain-break/custom-tag control passes. After the patch, the TypeScript build succeeds and all 26 tests in test/import-job.test.ts and test/import-job-breaks.test.ts pass on Node 24.19.0.

Submitted under the published $0.25 USD-equivalent reward per valid bug-fix PR, using the existing application and settlement conversation. Requested settlement remains native SOL on Solana mainnet, with the net token amount confirmed before payment.

@ralyodio
ralyodio merged commit b68bbb7 into profullstack:master Sep 21, 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.

2 participants