Preserve HTML line breaks with attributes in imported job descriptions - #140
Merged
ralyodio merged 1 commit intoSep 21, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Importing a job description containing
Build data pipelines<br class="editor-break">Maintain ingestion jobsmerges 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
brelements while respecting quoted attribute values and the tag-name boundary. Existing<br>,<br/>, and<br />forms retain their behavior; custom tags beginning withbrare 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 intest/import-job.test.tsandtest/import-job-breaks.test.tspass 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.