Files
ai-job-search/.agents/skills/linkedin-search/cli/tests/fixtures/README.md
T
Rudy Mizrahi Celekli 23876bfa95 fix(linkedin-search): preserve description paragraph and list breaks (#567)
* fix(linkedin-search): preserve description paragraph and list breaks

Clean rendered description lines separately so whitespace normalization does not erase paragraph and list boundaries in JSON and plain output. Exercise the documented detail CLI against a loopback-served captured response, with field and closed-status controls.

Credits: portapulito diagnosed this behavior and supplied the captured guest-response fixture in upstream PR #153, which was closed as an accidental personalized-fork submission. This independent implementation revives only that correctness fix and its fixture evidence.

* docs(changelog): record fix for #567
2026-10-18 06:55:15 +02:00

21 lines
1.2 KiB
Markdown

# LinkedIn detail fixture
`detail-orbis-excerpt.html` contains verbatim excerpts from the guest response for
posting `4345841651`, captured by **portapulito** through this CLI's `htmlFetch`
on 2026-07-14 and published in [upstream PR #153](https://github.com/MadsLorentzen/ai-job-search/pull/153).
That PR was closed because it was accidentally submitted to upstream instead of
the author's personalized fork; it was not merged.
Source: `.agents/skills/linkedin-search/cli/test/__fixtures__/detail-orbis.html`
at commit `5bc3afb94d19b670ecf09287c20d0c95e5d13ba0`.
Original SHA-256: `2125a346c22f471e3db08cd3890d0569b194703fe5f49b831cdde257e4aa4a59`.
Only the title, closed banner, description markup and criteria list are retained.
Their bytes are unmodified; recruiter cards, images, tracking links and unrelated
page sections are omitted. The description includes real adjacent paragraphs,
empty paragraphs and list items, rather than hand-written parser examples.
The CLI regression serves this saved response over loopback and redirects only
the exact expected guest endpoint to it in a child process. It makes no LinkedIn
requests and does not regenerate the fixture during tests.